summaryrefslogtreecommitdiffstats
path: root/fbconnect/forms.py
diff options
context:
space:
mode:
authorhrcerqueira <hrcerqueira@gmail.com>2010-01-22 01:39:13 +0000
committerhrcerqueira <hrcerqueira@gmail.com>2010-01-22 01:39:13 +0000
commitd305ad98090558eb872c97f69addd2163f8ba5bd (patch)
tree08472efc2490125d56c6dd3274f4e06fd2db147f /fbconnect/forms.py
parentc18bda49f13afb4e2eaaf9ccb35098ee174e3afc (diff)
downloadaskbot-d305ad98090558eb872c97f69addd2163f8ba5bd.tar.gz
askbot-d305ad98090558eb872c97f69addd2163f8ba5bd.tar.bz2
askbot-d305ad98090558eb872c97f69addd2163f8ba5bd.zip
Handle the case were user logs in with facebook for the first time.
Diffstat (limited to 'fbconnect/forms.py')
-rwxr-xr-xfbconnect/forms.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/fbconnect/forms.py b/fbconnect/forms.py
new file mode 100755
index 00000000..94f86816
--- /dev/null
+++ b/fbconnect/forms.py
@@ -0,0 +1,8 @@
+from django_authopenid.forms import NextUrlField, UserNameField, UserEmailField
+
+from django import forms
+
+class FBConnectRegisterForm(forms.Form):
+ next = NextUrlField()
+ username = UserNameField()
+ email = UserEmailField()