summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishanth Amuluru2011-01-08 01:44:49 +0530
committerNishanth Amuluru2011-01-08 01:44:49 +0530
commitd8806ddedc5da20a865c6fa0f68defd32df8e2c8 (patch)
treebd8b56d30b64793e428593cc6d570b99b350833b
parentee9ca4578cda64df058e768de5258426a970b2fb (diff)
downloadpytask-d8806ddedc5da20a865c6fa0f68defd32df8e2c8.tar.gz
pytask-d8806ddedc5da20a865c6fa0f68defd32df8e2c8.tar.bz2
pytask-d8806ddedc5da20a865c6fa0f68defd32df8e2c8.zip
Added a new field for full_name
-rwxr-xr-xprofile/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/profile/models.py b/profile/models.py
index 4d9d0ea..48e8dc5 100755
--- a/profile/models.py
+++ b/profile/models.py
@@ -20,6 +20,9 @@ class Profile(models.Model):
uniq_key = models.CharField(max_length=20)
+ full_name = models.CharField(max_length=50, verbose_name="Name as on bank\
+ account", help_text="Any DD/Cheque will be\
+ issued on this name")
user = models.ForeignKey(User, unique = True)
rights = models.CharField(max_length = 2, choices = RIGHTS_CHOICES, default = u"CT")
pynts = models.PositiveSmallIntegerField(default = 0)