summaryrefslogtreecommitdiff
path: root/archaeological_finds/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-06-07 11:09:35 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-06-12 10:46:13 +0200
commit07f24f648504004adbb57b16bd18fbd23a3c3998 (patch)
treed605a5b6bc1aa62d20631a965fc6bd6fd341bc86 /archaeological_finds/forms.py
parent5341c3beb0fc3b52e864156bbfee54db78612b20 (diff)
downloadIshtar-07f24f648504004adbb57b16bd18fbd23a3c3998.tar.bz2
Ishtar-07f24f648504004adbb57b16bd18fbd23a3c3998.zip
Fix tests and fixtures for new document management (refs #4107)
Diffstat (limited to 'archaeological_finds/forms.py')
-rw-r--r--archaeological_finds/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py
index 1636c7897..82c7cc34e 100644
--- a/archaeological_finds/forms.py
+++ b/archaeological_finds/forms.py
@@ -455,7 +455,7 @@ class FindSelect(TableSelect):
base_finds__batch = forms.ChoiceField(
label=_(u"Batch/object"), choices=[])
checked = forms.ChoiceField(label=_("Check"))
- images__pk__isnull = forms.NullBooleanField(label=_(u"Has an image?"))
+ documents__image__isnull = forms.NullBooleanField(label=_(u"Has an image?"))
def __init__(self, *args, **kwargs):
super(FindSelect, self).__init__(*args, **kwargs)