summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-03-28 11:09:53 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-03-28 11:10:59 +0200
commit8beff03e0f1b32d4540df6c656446c95d2993dbb (patch)
tree7c0359dc421698f20e544f469394a0fa2ea929b5 /ishtar_common/models.py
parent633da250abe1d2b243564a3c014e28b96e80aebe (diff)
downloadIshtar-8beff03e0f1b32d4540df6c656446c95d2993dbb.tar.bz2
Ishtar-8beff03e0f1b32d4540df6c656446c95d2993dbb.zip
Make step by step import an experimental feature (refs #3975)
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 6518ea763..8f8117b6c 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -1537,6 +1537,9 @@ class IshtarSiteProfile(models.Model, Cached):
slug_field = 'slug'
label = models.TextField(_(u"Name"))
slug = models.SlugField(_(u"Slug"), unique=True)
+ active = models.BooleanField(_(u"Current active"), default=False)
+ experimental_feature = models.BooleanField(
+ _(u"Activate experimental feature"), default=False)
description = models.TextField(_(u"Description"), null=True, blank=True)
files = models.BooleanField(_(u"Files module"), default=False)
archaeological_site = models.BooleanField(
@@ -1626,7 +1629,6 @@ class IshtarSiteProfile(models.Model, Cached):
u"Change this with care. With incorrect formula, the "
u"application might be unusable and import of external "
u"data can be destructive."))
- active = models.BooleanField(_(u"Current active"), default=False)
currency = models.CharField(_(u"Currency"), default=u"€",
choices=CURRENCY, max_length=5)