summaryrefslogtreecommitdiff
path: root/chimere/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/models.py')
-rw-r--r--chimere/models.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/chimere/models.py b/chimere/models.py
index dfca2f2..8086c57 100644
--- a/chimere/models.py
+++ b/chimere/models.py
@@ -301,13 +301,12 @@ class GeographicItem(models.Model):
blank=True, null=True)
license = models.CharField(_(u"License"), max_length=100,
blank=True, null=True)
- if settings.CHIMERE_DAYS_BEFORE_EVENT:
- start_date = models.DateField(_(u"Start date"), blank=True, null=True,
- help_text=_(u"Not mandatory. Set it for dated item such as event. "\
- u"Format YYYY-MM-DD"))
- end_date = models.DateField(_(u"End date"), blank=True, null=True,
- help_text=_(u"Not mandatory. Set it only if you have a multi-day "\
- u"event. Format YYYY-MM-DD"))
+ start_date = models.DateField(_(u"Start date"), blank=True, null=True,
+ help_text=_(u"Not mandatory. Set it for dated item such as event. "\
+ u"Format YYYY-MM-DD"))
+ end_date = models.DateField(_(u"End date"), blank=True, null=True,
+ help_text=_(u"Not mandatory. Set it only if you have a multi-day "\
+ u"event. Format YYYY-MM-DD"))
class Meta:
abstract = True