diff options
author | Primal Pappachan | 2012-02-21 16:55:30 +0530 |
---|---|---|
committer | Primal Pappachan | 2012-02-21 16:55:30 +0530 |
commit | 843478dc1cad9f50d110362a8e2016bb005d3a79 (patch) | |
tree | 058b43ef58599ba1bb02a5cd3c60ad934e191f92 /profiler/models.py | |
parent | eca126940208efd61576589f97700a9031a04050 (diff) | |
download | aloha-843478dc1cad9f50d110362a8e2016bb005d3a79.tar.gz aloha-843478dc1cad9f50d110362a8e2016bb005d3a79.tar.bz2 aloha-843478dc1cad9f50d110362a8e2016bb005d3a79.zip |
Removed Profiler model
Diffstat (limited to 'profiler/models.py')
-rw-r--r-- | profiler/models.py | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/profiler/models.py b/profiler/models.py deleted file mode 100644 index 4a01147..0000000 --- a/profiler/models.py +++ /dev/null @@ -1,52 +0,0 @@ -from django.db import models - -from django.contrib.auth.models import User - -GENDER_CHOICES = ( - ('Male' : 'Male'), - ('Female' : 'Female'), -) - -SUBJECT_CHOICES = ( - ('001' : 'Physics'), - ('002' : 'Mathematics'), - ('003' : 'Chemistry') -) - -CATEGORY_CHOICES = ( - ('GEN' : 'GENERAL'), - ('OBC' : 'OTHER BACKWARD CASTE'), -) - -class UserProfile(models.Model): - #Mandatory field - Should be unique for an user - user = models.ForeignKey(User, unique = True) - - #Custom fields - exam_id = models.CharField(max_length=30, - verbose_name="Registration number", - help_text = "Registration number as given in examination id card") - - subject = models.CharField(verbose_name="Examination Subject", - choices = SUBJECT_CHOICES) - - full_name = models.CharField(max_length=50, verbose_name="Full name", - help_text ="Name as given in application") - - dob = models.DateField(verbose_name="Date of Birth", - help_text="YYYY-MM-DD") - - category = models.CharField(verbose_name="Category", - help_text="Category as given in the application", - choices = CATEGORY_CHOICES) - - - def __unicode__(self): - return self.exam_id - -class Notification(models.Model): -"""Borrowed from PyTask. Used to send notifications to users from the site -regarding various announcements.""" - - pass - |