From 9859c31976a88c63baf36a66839d13eb3fdd3b88 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 28 Jan 2015 18:01:24 +0100 Subject: Add external_id to sources. Bibracte import for sources. --- ishtar_common/models.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 280376966..ab558ce75 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1218,6 +1218,8 @@ class Format(GeneralType): class Source(models.Model): title = models.CharField(_(u"Title"), max_length=300) + external_id = models.CharField(_(u"External ID"), max_length=12, null=True, + blank=True) source_type = models.ForeignKey(SourceType, verbose_name=_(u"Type")) support_type = models.ForeignKey(SupportType, verbose_name=_(u"Support"), blank=True, null=True,) -- cgit v1.2.3