From b12b728edc5c0d301cf867efe5e1bb4a071dbd31 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 16 Apr 2013 19:51:03 +0200 Subject: Small fix on DBF import - generate a "fr" initial_data instead of a generic --- ishtar_common/models.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ishtar_common') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 458802087..754944389 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -159,6 +159,7 @@ class GeneralType(models.Model): class Meta: abstract = True + unique_together = (('txt_idx', 'available'),) def __unicode__(self): return self.label -- cgit v1.2.3