summaryrefslogtreecommitdiff
path: root/spoken_auth/models.py
diff options
context:
space:
mode:
authorSanmugasundaram K2015-01-07 19:18:22 +0530
committerSanmugasundaram K2015-01-07 19:24:11 +0530
commit2ae49074f030b61088317526b023b9e21124dbfc (patch)
tree957f0138c0f2a96fd2c818a7035d2bbd48d3400c /spoken_auth/models.py
parent9a5a239295e7aae2d211c07c9fdb117cf8252e99 (diff)
downloadspoken-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.py1
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'