summaryrefslogtreecommitdiff
path: root/ishtar_common/models_imports.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-01-11 16:19:59 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-01-11 16:19:59 +0100
commit2aa223c0cac8c445e9f3855db66524cfdeae9380 (patch)
tree8b9137dd9b68121db86e4e22dfdb7b7016a6f1ad /ishtar_common/models_imports.py
parent23697dd97eb201dd557272293227ec42a1c95a54 (diff)
parentdaeeeb175835559724c8520f4f5a8dcd5957a469 (diff)
downloadIshtar-2aa223c0cac8c445e9f3855db66524cfdeae9380.tar.bz2
Ishtar-2aa223c0cac8c445e9f3855db66524cfdeae9380.zip
Merge branch 'develop'
Diffstat (limited to 'ishtar_common/models_imports.py')
-rw-r--r--ishtar_common/models_imports.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ishtar_common/models_imports.py b/ishtar_common/models_imports.py
index 9aae1d52d..b5ce3323d 100644
--- a/ishtar_common/models_imports.py
+++ b/ishtar_common/models_imports.py
@@ -133,7 +133,7 @@ class ImporterType(models.Model):
ImporterModel, verbose_name=_(u"Models that can accept new items"),
blank=True, help_text=_(u"Leave blank for no restrictions"),
related_name='+')
- is_template = models.BooleanField(_(u"Is template"), default=False)
+ is_template = models.BooleanField(_(u"Can be exported"), default=False)
unicity_keys = models.CharField(_(u"Unicity keys (separator \";\")"),
blank=True, null=True, max_length=500)
available = models.BooleanField(_(u"Available"), default=True)
@@ -629,6 +629,7 @@ class TargetKey(models.Model):
TARGET_MODELS = [
('OrganizationType', _(u"Organization type")),
('ishtar_common.models.OrganizationType', _(u"Organization type")),
+ ('ishtar_common.models.PersonType', _(u"Person type")),
('TitleType', _(u"Title")),
('SourceType', _(u"Source type")),
('AuthorType', _(u"Author type")),