summaryrefslogtreecommitdiffstats
path: root/fbconnect/models.py
diff options
context:
space:
mode:
authorhrcerqueira <hrcerqueira@gmail.com>2010-01-22 20:55:07 +0000
committerhrcerqueira <hrcerqueira@gmail.com>2010-01-22 20:55:07 +0000
commitc4ed047a3b2248aa7544df02f9d1bceaeb8d633c (patch)
treeadae918a2b74fbce5b25be614234727c93cf431d /fbconnect/models.py
parentd305ad98090558eb872c97f69addd2163f8ba5bd (diff)
downloadaskbot-c4ed047a3b2248aa7544df02f9d1bceaeb8d633c.tar.gz
askbot-c4ed047a3b2248aa7544df02f9d1bceaeb8d633c.tar.bz2
askbot-c4ed047a3b2248aa7544df02f9d1bceaeb8d633c.zip
Handled the returning user case, and the proper redirects in the case of an anonymous question or answer.
Diffstat (limited to 'fbconnect/models.py')
-rwxr-xr-xfbconnect/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fbconnect/models.py b/fbconnect/models.py
index 33a723e8..2172217d 100755
--- a/fbconnect/models.py
+++ b/fbconnect/models.py
@@ -3,4 +3,4 @@ from django.contrib.auth.models import User
class FBAssociation(models.Model):
user = models.ForeignKey(User)
- fbuid = models.TextField(max_length=12)
+ fbuid = models.CharField(max_length=12, unique=True)