From 83063012ac3eac51983c83d3b1681595aa59eb1d Mon Sep 17 00:00:00 2001 From: Jayaram Pai Date: Tue, 15 Apr 2014 16:01:00 +0530 Subject: major changes done, category logos added --- drupal_auth/models.py | 1 + 1 file changed, 1 insertion(+) (limited to 'drupal_auth') 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' -- cgit