From 6e1cff0a016a08d6a19ec8211029a2713538dd58 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 30 Apr 2013 12:31:28 +0200 Subject: Manage new imports for "Pays de la Loire" --- ishtar_common/fixtures/initial_data.json | 10 ++++++++++ ishtar_common/models.py | 4 ++++ 2 files changed, 14 insertions(+) (limited to 'ishtar_common') diff --git a/ishtar_common/fixtures/initial_data.json b/ishtar_common/fixtures/initial_data.json index a5b2c8c9a..ba7a1e155 100644 --- a/ishtar_common/fixtures/initial_data.json +++ b/ishtar_common/fixtures/initial_data.json @@ -69,6 +69,16 @@ "label": "Mus\u00e9e" } }, + { + "pk": 10, + "model": "ishtar_common.organizationtype", + "fields": { + "comment": "", + "available": true, + "txt_idx": "undefined", + "label": "Non pr\u00e9cis\u00e9" + } + }, { "pk": 6, "model": "ishtar_common.organizationtype", diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 754944389..61c7de7ff 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -649,6 +649,10 @@ class Source(models.Model): verbose_name=_(u"Receipt date")) creation_date = models.DateField(blank=True, null=True, verbose_name=_(u"Creation date")) + reference = models.CharField(_(u"Reference"), max_length=25, null=True, + blank=True) + internal_reference = models.CharField(_(u"Internal reference"), + max_length=25, null=True, blank=True) TABLE_COLS = ['title', 'source_type', 'authors',] class Meta: -- cgit v1.2.3