diff options
| -rw-r--r-- | README.md | 12 | ||||
| -rw-r--r-- | demo/templates/main.html | 6 | ||||
| -rw-r--r-- | fb/templates/fb_js.html | 1 | ||||
| -rw-r--r-- | fb/templates/fb_login.html | 1 |
4 files changed, 18 insertions, 2 deletions
@@ -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 |
