diff options
author | Prabhu Ramachandran | 2017-04-28 17:14:43 +0530 |
---|---|---|
committer | GitHub | 2017-04-28 17:14:43 +0530 |
commit | b285378b2eca29e7125bf9474cd57c973a202f37 (patch) | |
tree | 726da35ba55acacfde255e31bdc2233600f75395 /yaksh/models.py | |
parent | 2694fd6dd4d37a1a6570792e234998feef21edca (diff) | |
parent | 624e752684125aa525d9b3643cbd7c9b7ba61682 (diff) | |
download | online_test-b285378b2eca29e7125bf9474cd57c973a202f37.tar.gz online_test-b285378b2eca29e7125bf9474cd57c973a202f37.tar.bz2 online_test-b285378b2eca29e7125bf9474cd57c973a202f37.zip |
Merge pull request #273 from adityacp/email_verification
Email verification during registration
Diffstat (limited to 'yaksh/models.py')
-rw-r--r-- | yaksh/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yaksh/models.py b/yaksh/models.py index 5fa828c..f6867f0 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -256,6 +256,9 @@ class Profile(models.Model): default=pytz.utc.zone, choices=[(tz, tz) for tz in pytz.common_timezones] ) + is_email_verified = models.BooleanField(default=False) + activation_key = models.CharField(max_length=40, blank=True, null=True) + key_expiry_time = models.DateTimeField(blank=True, null=True) def get_user_dir(self): """Return the output directory for the user.""" |