Private
Public Access
1
0

updated model

This commit is contained in:
Sander Roosendaal
2018-04-11 17:16:32 +02:00
parent ea526d1ae0
commit 97cce15d68
8 changed files with 6412 additions and 3 deletions

View File

@@ -1056,6 +1056,15 @@ class PlannedSession(models.Model):
super(PlannedSession,self).save(*args, **kwargs)
class PopUpRegatta(PlannedSession):
has_registration = models.BooleanField(default=False)
registration_closure = models.DateTimeField(blank=True,null=True)
evaluation_closure = models.DateTimeField(blank=True,null=True)
start_time = models.TimeField(blank=True,null=True)
end_time = models.TimeField(blank=True,null=True)
# Date input utility
class DateInput(forms.DateInput):
input_type = 'date'