summaryrefslogtreecommitdiff
path: root/allotter/models.py
diff options
context:
space:
mode:
authorparth2012-03-26 02:21:56 +0530
committerparth2012-03-26 02:21:56 +0530
commit62354a84f25da0730edee1252879539434afcac9 (patch)
tree67d39795dd8ea39c22f19f33b3abdff106022f94 /allotter/models.py
parentf8dcf2b4eb34b95ec04ba28165729d297d288ccf (diff)
parent64d5a67ac17ab0d92ce7cd73f20de9bfec57d310 (diff)
downloadaloha-62354a84f25da0730edee1252879539434afcac9.tar.gz
aloha-62354a84f25da0730edee1252879539434afcac9.tar.bz2
aloha-62354a84f25da0730edee1252879539434afcac9.zip
Merge branch 'master' into visual_changes
Diffstat (limited to 'allotter/models.py')
-rw-r--r--allotter/models.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/allotter/models.py b/allotter/models.py
index 25d3f44..9da8213 100644
--- a/allotter/models.py
+++ b/allotter/models.py
@@ -1,10 +1,6 @@
from django.db import models
from django.contrib.auth.models import User
-#email in profile
-#course - place
-#phone no(2)
-
##EXAMINATION_SUBJECTS = (
## ("Physics", "Physics"),
## ("Mathematics", "Mathematics"),
@@ -79,7 +75,7 @@ class Option(models.Model):
verbose_name_plural = "Options"
def __unicode__(self):
- return self.opt_name
+ return unicode(self.opt_code)
class Application(models.Model):
@@ -108,6 +104,8 @@ class Application(models.Model):
cgy = models.CharField(max_length=10, verbose_name="Category")
pd = models.BooleanField(verbose_name="Physical Disability", default=False, blank=True)
+
+ submitted = models.BooleanField(verbose_name="Submission Status", default=False)
def __unicode__(self):
u = self.user