diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-12-30 17:19:57 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-12-30 17:19:57 +0100 |
commit | 45562901b3956955d825d4b8f1914ac2e48f0463 (patch) | |
tree | 5a2ec62836501b9a6d94b04ff02bb9f0a4374d4c /ishtar_common/models.py | |
parent | bd14b56fea4482a15ea56174d88922aafa033cde (diff) | |
download | Ishtar-45562901b3956955d825d4b8f1914ac2e48f0463.tar.bz2 Ishtar-45562901b3956955d825d4b8f1914ac2e48f0463.zip |
Sources: duplicate and references
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index ec3d2e2a6..e44d799cc 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2151,14 +2151,15 @@ class Source(models.Model): creation_date = models.DateField(blank=True, null=True, verbose_name=_(u"Creation date")) item_number = models.IntegerField(_(u"Item number"), default=1) - reference = models.CharField(_(u"Ref."), max_length=25, null=True, + reference = models.CharField(_(u"Ref."), max_length=100, null=True, blank=True) - internal_reference = models.CharField(_(u"Internal ref."), - max_length=25, null=True, blank=True) + internal_reference = models.CharField( + _(u"Internal ref."), max_length=100, null=True, blank=True) description = models.TextField(_(u"Description"), blank=True, null=True) comment = models.TextField(_(u"Comment"), blank=True, null=True) additional_information = models.TextField(_(u"Additional information"), blank=True, null=True) + duplicate = models.BooleanField(_(u"Is a duplicate"), default=False) TABLE_COLS = ['title', 'source_type', 'authors', ] class Meta: |