summaryrefslogtreecommitdiff
path: root/drupal_auth
diff options
context:
space:
mode:
authorJayaram Pai2014-04-15 16:01:00 +0530
committerJayaram Pai2014-04-15 16:01:00 +0530
commit83063012ac3eac51983c83d3b1681595aa59eb1d (patch)
treeed7fb51e09e70ac0490f48c3ddf0c15a573d69ad /drupal_auth
parent7c74b30aafb85b026ce846de8d2fb6a514d6e4ae (diff)
downloadspoken-tutorial-forums-83063012ac3eac51983c83d3b1681595aa59eb1d.tar.gz
spoken-tutorial-forums-83063012ac3eac51983c83d3b1681595aa59eb1d.tar.bz2
spoken-tutorial-forums-83063012ac3eac51983c83d3b1681595aa59eb1d.zip
major changes done, category logos added
Diffstat (limited to 'drupal_auth')
-rw-r--r--drupal_auth/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/drupal_auth/models.py b/drupal_auth/models.py
index 3ad6ffb..9e7fe5f 100644
--- a/drupal_auth/models.py
+++ b/drupal_auth/models.py
@@ -10,6 +10,7 @@ class Users(models.Model):
id = models.IntegerField(primary_key=True, db_column='uid')
username = models.CharField(max_length=60L, unique=True, db_column='name')
password = models.CharField(max_length=32L, db_column='pass') # Field renamed because it was a Python reserved word.
+ email = models.CharField(max_length=200L, db_column='mail')
last_login = models.DateTimeField(auto_now_add=True)
USERNAME_FIELD = 'username'