From 07f24f648504004adbb57b16bd18fbd23a3c3998 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 7 Jun 2018 11:09:35 +0200 Subject: Fix tests and fixtures for new document management (refs #4107) --- archaeological_finds/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_finds/forms.py') 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) -- cgit v1.2.3