summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2011-03-19 23:33:40 +0200
committerYuval Adam <yuv.adm@gmail.com>2011-03-19 23:33:40 +0200
commit59dae434a4f511bc6f320fa9519dabc176a211b2 (patch)
tree1b6fe8373cda213a8ff1c3007a8639300c305de5
parentb454a79d106d256f7eea8d0e23567e613928bab5 (diff)
stuff looks good
-rw-r--r--README.md12
-rw-r--r--demo/templates/main.html6
-rw-r--r--fb/templates/fb_js.html1
-rw-r--r--fb/templates/fb_login.html1
4 files changed, 18 insertions, 2 deletions
diff --git a/README.md b/README.md
index 646db25..b06c889 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,13 @@
# django-fb
-django-fb is a lightweight Django application designed to help you quickly setup Facebook authentication \ No newline at end of file
+django-fb is a lightweight Django application designed to help you quickly setup Facebook authentication
+
+## Usage
+
+1. Bla
+2. Foo
+3. It works!
+
+## Features
+
+* Asynchronous Facebook JS loading \ No newline at end of file
diff --git a/demo/templates/main.html b/demo/templates/main.html
index 23a1ba2..dc255f4 100644
--- a/demo/templates/main.html
+++ b/demo/templates/main.html
@@ -5,9 +5,13 @@
</head>
<body>
+ {% include 'fb_js.html' %}
+
<h1>django-fb</h1>
- {% include 'fb_js.html' %}
+ <p>This is just a login demo application.</p>
+
+ {% include 'fb_login.html' %}
</body>
</html> \ No newline at end of file
diff --git a/fb/templates/fb_js.html b/fb/templates/fb_js.html
index 11969d2..199281c 100644
--- a/fb/templates/fb_js.html
+++ b/fb/templates/fb_js.html
@@ -1,4 +1,5 @@
<div id="fb-root"></div>
+
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
FB.init({
diff --git a/fb/templates/fb_login.html b/fb/templates/fb_login.html
new file mode 100644
index 0000000..74db6e7
--- /dev/null
+++ b/fb/templates/fb_login.html
@@ -0,0 +1 @@
+<fb:login-button> \ No newline at end of file