diff options
author | hrcerqueira <hrcerqueira@gmail.com> | 2010-01-22 20:55:07 +0000 |
---|---|---|
committer | hrcerqueira <hrcerqueira@gmail.com> | 2010-01-22 20:55:07 +0000 |
commit | c4ed047a3b2248aa7544df02f9d1bceaeb8d633c (patch) | |
tree | adae918a2b74fbce5b25be614234727c93cf431d /fbconnect/models.py | |
parent | d305ad98090558eb872c97f69addd2163f8ba5bd (diff) | |
download | askbot-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-x | fbconnect/models.py | 2 |
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) |