summaryrefslogtreecommitdiff
path: root/chimere/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/models.py')
-rw-r--r--chimere/models.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/chimere/models.py b/chimere/models.py
index 5d0b93c..7575e1c 100644
--- a/chimere/models.py
+++ b/chimere/models.py
@@ -1537,6 +1537,10 @@ class Area(models.Model, SimpleArea):
verbose_name=_(u"Restricted to theses sub-categories"),
help_text=_(u"If no sub-category is set all sub-categories are "
u"available"))
+ display_category_menu = models.BooleanField(
+ _(u"Display category menu"), default=True,
+ help_text=_(u"If set to False, category menu will be hide and all "
+ u"categories will be always displayed."))
external_css = models.URLField(_(u"Link to an external CSS"), blank=True,
null=True)
restrict_to_extent = models.BooleanField(_(u"Restrict to the area extent"),