summaryrefslogtreecommitdiff
path: root/archaeological_finds/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-21 17:27:20 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-21 17:27:20 +0200
commit7ac641792c2388a25594c630bf32bc7accf332b7 (patch)
tree56f20aa141a5b4b076f9f195c7c84d79fda14e51 /archaeological_finds/models.py
parentd7daac762c36d35737f36e46d5a13f47cce87351 (diff)
downloadIshtar-7ac641792c2388a25594c630bf32bc7accf332b7.tar.bz2
Ishtar-7ac641792c2388a25594c630bf32bc7accf332b7.zip
Finds: add estimated value. Manage a currency for an Ishtar profile (refs #2969)
Diffstat (limited to 'archaeological_finds/models.py')
-rw-r--r--archaeological_finds/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_finds/models.py b/archaeological_finds/models.py
index 0bbe4f4cd..b570d7b85 100644
--- a/archaeological_finds/models.py
+++ b/archaeological_finds/models.py
@@ -368,6 +368,8 @@ class Find(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem):
choices=CHECK_CHOICES)
check_date = models.DateField(_(u"Check date"),
default=datetime.date.today)
+ estimated_value = models.FloatField(_(u"Estimated value"), blank=True,
+ null=True)
history = HistoricalRecords()
BASKET_MODEL = FindBasket