Created
July 26, 2012 01:16
-
-
Save kdmukai/3179712 to your computer and use it in GitHub Desktop.
Facebook registration with django_facebook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% load url from future %} | |
<link href="{{ STATIC_URL }}css/facebook.css" type="text/css" rel="stylesheet" media="all" /> | |
{% include 'django_facebook/_facebook_js.html' %} | |
Register! | |
<form action="{% url 'facebook_connect' %}?facebook_login=1" method="post"> | |
<a href="javascript:void(0);" style="font-size: 20px;" onclick="F.connect(this.parentNode);">Login or register with facebook</a> | |
<input type="hidden" value="{% url 'my_post_registration_url' %}" name="register_next" /> | |
<input type="hidden" value="{% url 'my_post_login_url' %}" name="next" /> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment