summaryrefslogtreecommitdiff
path: root/archaeological_finds/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-07-12 13:11:26 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-07-12 13:11:26 +0200
commit1821e59c0d60dff25ce06a6d8f477c6ce614f22a (patch)
tree1634021dc7325656c68e2f1f68746413b86d230c /archaeological_finds/models.py
parent33680fbc94a8da658419c3a78e50296a39e464ff (diff)
downloadIshtar-1821e59c0d60dff25ce06a6d8f477c6ce614f22a.tar.bz2
Ishtar-1821e59c0d60dff25ce06a6d8f477c6ce614f22a.zip
Add conservatory and dimensions comments to finds
Diffstat (limited to 'archaeological_finds/models.py')
-rw-r--r--archaeological_finds/models.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/archaeological_finds/models.py b/archaeological_finds/models.py
index 7d50a0dfb..4b1134488 100644
--- a/archaeological_finds/models.py
+++ b/archaeological_finds/models.py
@@ -297,6 +297,8 @@ class Find(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem):
conservatory_state = models.ForeignKey(
ConservatoryState, verbose_name=_(u"Conservatory state"), blank=True,
null=True)
+ conservatory_comment = models.TextField(_(u"Conservatory comment"),
+ blank=True, null=True)
preservation_to_considers = models.ManyToManyField(
PreservationType, verbose_name=_(u"Type of preservation to consider"),
related_name='finds')
@@ -327,6 +329,8 @@ class Find(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem):
width = models.FloatField(_(u"Width (cm)"), blank=True, null=True)
height = models.FloatField(_(u"Height (cm)"), blank=True, null=True)
diameter = models.FloatField(_(u"Diameter (cm)"), blank=True, null=True)
+ dimensions_comment = models.TextField(_(u"Dimensions comment"),
+ blank=True, null=True)
mark = models.TextField(_(u"Mark"), blank=True, null=True)
comment = models.TextField(_(u"Comment"), blank=True, null=True)
dating_comment = models.TextField(_(u"Comment on dating"), blank=True,