diff options
author | Étienne Loks <etienne@peacefrogs.net> | 2019-02-06 15:31:06 +0100 |
---|---|---|
committer | Étienne Loks <etienne@peacefrogs.net> | 2019-02-06 15:31:06 +0100 |
commit | 4dc674ea9fa7516878a7b128da10ca9f09a6a1c7 (patch) | |
tree | 996f49e49c31c5c6644905ee3d9a3bf30da3bd1f /archaeological_warehouse/models.py | |
parent | 4cbb3429c3243e93597c2d2fbc668b444499c728 (diff) | |
download | Ishtar-4dc674ea9fa7516878a7b128da10ca9f09a6a1c7.tar.bz2 Ishtar-4dc674ea9fa7516878a7b128da10ca9f09a6a1c7.zip |
ForeignKey: SET_NULL fix
Diffstat (limited to 'archaeological_warehouse/models.py')
-rw-r--r-- | archaeological_warehouse/models.py | 3 |
1 files changed, 1 insertions, 2 deletions
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, \ |