diff options
Diffstat (limited to 'yaksh/models.py')
-rw-r--r-- | yaksh/models.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/yaksh/models.py b/yaksh/models.py index 62ac9bc..15340f3 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -8,6 +8,12 @@ from taggit.managers import TaggableManager ############################################################################### +class Visitor(models.Model): + visitor_user = models.OneToOneField(User, null=False) + session_key = models.CharField(null=False, max_length=40) + + +############################################################################### class Profile(models.Model): """Profile for a user to store roll number and other details.""" user = models.OneToOneField(User) |