summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 6438a1f2c..a013a3456 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -872,6 +872,9 @@ def get_external_id(key, item):
dct[fkey] = obj
return formula.format(**dct)
+CURRENCY = ((u"€", _(u"Euro")),
+ (u"$", _(u"US dollar")))
+
class IshtarSiteProfile(models.Model, Cached):
slug_field = 'slug'
@@ -927,6 +930,8 @@ class IshtarSiteProfile(models.Model, Cached):
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')
class Meta:
verbose_name = _(u"Ishtar site profile")