From 4dc674ea9fa7516878a7b128da10ca9f09a6a1c7 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 6 Feb 2019 15:31:06 +0100 Subject: ForeignKey: SET_NULL fix --- archaeological_warehouse/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'archaeological_warehouse') diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py index 659688a2b..82e08841b 100644 --- a/archaeological_warehouse/models.py +++ b/archaeological_warehouse/models.py @@ -25,8 +25,7 @@ from django.core.urlresolvers import reverse from django.db.models import Q from django.db.models.signals import post_save, post_delete, m2m_changed from django.template.defaultfilters import slugify -from django.utils.translation import ugettext_lazy as _, pgettext_lazy, \ - activate, deactivate +from django.utils.translation import ugettext_lazy as _, pgettext_lazy from ishtar_common.data_importer import post_importer_action from ishtar_common.models import Document, GeneralType, get_external_id, \ -- cgit v1.2.3