summaryrefslogtreecommitdiffstats
path: root/django_authopenid/models.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-02-05 19:15:09 -0500
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-02-05 19:15:09 -0500
commitb6cce3357041aa7dfbb59ae12355f7c3ed69f687 (patch)
tree72759b1353e97ba00d9171e864d245c4bfcfb993 /django_authopenid/models.py
parent955f0853655cd499a12f69ca35768802ddbbac38 (diff)
downloadaskbot-b6cce3357041aa7dfbb59ae12355f7c3ed69f687.tar.gz
askbot-b6cce3357041aa7dfbb59ae12355f7c3ed69f687.tar.bz2
askbot-b6cce3357041aa7dfbb59ae12355f7c3ed69f687.zip
added logging messages to django_authopenid library for debugging, \
also fixed up format of logging output and added HOW_TO_DEBUG file
Diffstat (limited to 'django_authopenid/models.py')
-rw-r--r--django_authopenid/models.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/django_authopenid/models.py b/django_authopenid/models.py
index 7b2e1c02..a12c2fec 100644
--- a/django_authopenid/models.py
+++ b/django_authopenid/models.py
@@ -71,6 +71,10 @@ class UserPasswordQueue(models.Model):
return self.user.username
class ExternalLoginData(models.Model):
+ """this class was added by Evgeny to associate
+ external authentication user with django user
+ probably it just does not belong here... (EF)
+ """
external_username = models.CharField(max_length=40, unique=True, null=False)
external_session_data = models.TextField()
user = models.ForeignKey(User, null=True)