diff --git a/apps/iiif/manifests/documents.py b/apps/iiif/manifests/documents.py index 7a6642a9..94508926 100644 --- a/apps/iiif/manifests/documents.py +++ b/apps/iiif/manifests/documents.py @@ -61,7 +61,7 @@ class Django: """Settings for automatically pulling data from Django""" model = Manifest - ignore_signals = True + ignore_signals = environ['DJANGO_ENV'] != 'test' # fields to map dynamically in Elasticsearch fields = [