summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
authorankitjavalkar2015-12-02 18:30:12 +0530
committerankitjavalkar2016-01-15 17:12:09 +0530
commit58bd6a8dbe0aa440ad8ec517fc85d388d02dc5e7 (patch)
tree5aba525b3f919172689f12e62ac301015c23c49b /yaksh/models.py
parente6cc3a71a0c41c40e95b47d7f001a7d948dba9fc (diff)
downloadonline_test-58bd6a8dbe0aa440ad8ec517fc85d388d02dc5e7.tar.gz
online_test-58bd6a8dbe0aa440ad8ec517fc85d388d02dc5e7.tar.bz2
online_test-58bd6a8dbe0aa440ad8ec517fc85d388d02dc5e7.zip
Change model name associated with concurrent login
Diffstat (limited to 'yaksh/models.py')
-rw-r--r--yaksh/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/models.py b/yaksh/models.py
index 15340f3..e7852d5 100644
--- a/yaksh/models.py
+++ b/yaksh/models.py
@@ -8,8 +8,8 @@ from taggit.managers import TaggableManager
###############################################################################
-class Visitor(models.Model):
- visitor_user = models.OneToOneField(User, null=False)
+class ConcurrentUser(models.Model):
+ concurrent_user = models.OneToOneField(User, null=False)
session_key = models.CharField(null=False, max_length=40)