diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-01-28 18:01:24 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-01-28 18:01:24 +0100 |
commit | 9859c31976a88c63baf36a66839d13eb3fdd3b88 (patch) | |
tree | 717cef3f16eca89b1a5496489a0889fbd7dafc27 /ishtar_common | |
parent | c42dd6617d4da7767097190cc243cf45aa021259 (diff) | |
download | Ishtar-9859c31976a88c63baf36a66839d13eb3fdd3b88.tar.bz2 Ishtar-9859c31976a88c63baf36a66839d13eb3fdd3b88.zip |
Add external_id to sources. Bibracte import for sources.
Diffstat (limited to 'ishtar_common')
-rw-r--r-- | ishtar_common/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
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,) |