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 | 30463969536705fda601c762ca459b4e51fbb3c5 (patch) | |
tree | 717cef3f16eca89b1a5496489a0889fbd7dafc27 /ishtar_common/models.py | |
parent | 61e92971e33940d93e0ae288456a4482145e33d3 (diff) | |
download | Ishtar-30463969536705fda601c762ca459b4e51fbb3c5.tar.bz2 Ishtar-30463969536705fda601c762ca459b4e51fbb3c5.zip |
Add external_id to sources. Bibracte import for sources.
Diffstat (limited to 'ishtar_common/models.py')
-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,) |