diff options
author | Sanmugasundaram K | 2015-01-07 19:18:22 +0530 |
---|---|---|
committer | Sanmugasundaram K | 2015-01-07 19:24:11 +0530 |
commit | 2ae49074f030b61088317526b023b9e21124dbfc (patch) | |
tree | 957f0138c0f2a96fd2c818a7035d2bbd48d3400c /spoken_auth/models.py | |
parent | 9a5a239295e7aae2d211c07c9fdb117cf8252e99 (diff) | |
download | spoken-tutorial-forums-2ae49074f030b61088317526b023b9e21124dbfc.tar.gz spoken-tutorial-forums-2ae49074f030b61088317526b023b9e21124dbfc.tar.bz2 spoken-tutorial-forums-2ae49074f030b61088317526b023b9e21124dbfc.zip |
drupal auth user id change to spoken auth user id in all old records
Diffstat (limited to 'spoken_auth/models.py')
-rw-r--r-- | spoken_auth/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spoken_auth/models.py b/spoken_auth/models.py index 1992ed8..b315b2d 100644 --- a/spoken_auth/models.py +++ b/spoken_auth/models.py @@ -8,6 +8,7 @@ from django.contrib.auth.models import ( class Users(AbstractBaseUser): id = models.IntegerField(primary_key=True) username = models.CharField(max_length=100L, unique=True) + email = models.CharField(max_length=100L, unique=True) USERNAME_FIELD = 'username' class Meta: db_table = 'auth_user' |