aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/register/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/register/models.py')
-rw-r--r--ctrack/register/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctrack/register/models.py b/ctrack/register/models.py
index 53b65a0..e4dea89 100644
--- a/ctrack/register/models.py
+++ b/ctrack/register/models.py
@@ -107,8 +107,8 @@ class SingleDateMixin(models.Model):
class TwinDateMixin(models.Model):
- start_date = models.DateField()
- end_date = models.DateField()
+ start_date = models.DateField(blank=False, null=False)
+ end_date = models.DateField(blank=True, null=True)
class Meta:
abstract = True