From faf34feb2bcebd3fe4fa14f21aa65b49f76c886d Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 22 Sep 2023 14:49:22 +0200 Subject: 🗃️ add updated relation between imports and main items MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/models_common.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ishtar_common/models_common.py') diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py index ccc70d81c..aa6a329c3 100644 --- a/ishtar_common/models_common.py +++ b/ishtar_common/models_common.py @@ -1098,6 +1098,9 @@ class Imported(models.Model): ) timestamp_geo = models.IntegerField(_("Timestamp geo"), null=True, blank=True) timestamp_label = models.IntegerField(_("Timestamp label"), null=True, blank=True) + imports_updated = models.ManyToManyField( + Import, blank=True, related_name="import_updated_%(app_label)s_%(class)s" + ) class Meta: abstract = True -- cgit v1.2.3