From 9925fde5d278278312a2be4458dc4cc675a3b88b Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Fri, 20 Sep 2019 10:12:33 +0530 Subject: Add field to enable/disable registration details model --- website/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'website/models.py') 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) -- cgit