diff options
author | Sashi20 | 2019-09-20 10:12:33 +0530 |
---|---|---|
committer | Sashi20 | 2019-09-20 10:12:33 +0530 |
commit | 9925fde5d278278312a2be4458dc4cc675a3b88b (patch) | |
tree | a786d6a2dcb6a96769eb5607efa884f29f06d325 /website/models.py | |
parent | f193ddc4fae94202e1e37709fe964ecfb2bfcbe3 (diff) | |
download | SciPy2019-9925fde5d278278312a2be4458dc4cc675a3b88b.tar.gz SciPy2019-9925fde5d278278312a2be4458dc4cc675a3b88b.tar.bz2 SciPy2019-9925fde5d278278312a2be4458dc4cc675a3b88b.zip |
Add field to enable/disable registration details model
Diffstat (limited to 'website/models.py')
-rw-r--r-- | website/models.py | 3 |
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) |