summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-10-08 11:18:20 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-10-24 12:06:09 +0200
commitd69e05c5496d310e923989d392b436fbbf9b4299 (patch)
tree42def1e68d0252237904317a2554418a9592c6c8 /ishtar_common/models.py
parentfcc1858d3e611c841d0aef8c970e2c1b56074b50 (diff)
downloadIshtar-d69e05c5496d310e923989d392b436fbbf9b4299.tar.bz2
Ishtar-d69e05c5496d310e923989d392b436fbbf9b4299.zip
Optionnal use of indexes for cached label for finds
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 0a00fc108..3e7cecf2a 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -1987,6 +1987,8 @@ 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."))
+ find_use_index = models.BooleanField(_(u"Use auto index for finds"),
+ default=True)
currency = models.CharField(_(u"Currency"), default=u"€",
choices=CURRENCY, max_length=5)