summaryrefslogtreecommitdiff
path: root/website/models.py
diff options
context:
space:
mode:
authorSashi202019-09-20 10:13:51 +0530
committerGitHub2019-09-20 10:13:51 +0530
commit607bbc92996e7cba9820718f1176340d04ebb02a (patch)
treea786d6a2dcb6a96769eb5607efa884f29f06d325 /website/models.py
parent8d2d50c8061f97e52b1d1c72084afb6ffa354211 (diff)
parent9925fde5d278278312a2be4458dc4cc675a3b88b (diff)
downloadSciPy2019-607bbc92996e7cba9820718f1176340d04ebb02a.tar.gz
SciPy2019-607bbc92996e7cba9820718f1176340d04ebb02a.tar.bz2
SciPy2019-607bbc92996e7cba9820718f1176340d04ebb02a.zip
Merge pull request #21 from Sashi20/development
Add field to enable/disable registration details model
Diffstat (limited to 'website/models.py')
-rw-r--r--website/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/website/models.py b/website/models.py
index dd6f08d..a0f9015 100644
--- a/website/models.py
+++ b/website/models.py
@@ -156,8 +156,9 @@ class CFP(models.Model):
class RegistrationDetail(models.Model):
- registration_type = models.CharField(max_length=50, blank= True, null= True)
+ registration_type = models.TextField(max_length=500, blank= True, null= True)
start_date = models.DateTimeField(blank=True, null = True)
end_date = models.DateTimeField(blank=True, null=True)
registration_ticket = models.CharField(max_length=100, blank=True, null=True)
registration_description = models.TextField(max_length=500, blank= True, null= True)
+ display_registration_type = models.BooleanField(default = True)