diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-09-22 14:49:22 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-04-16 16:38:32 +0200 |
commit | faf34feb2bcebd3fe4fa14f21aa65b49f76c886d (patch) | |
tree | f44b5a10ef5e541e2cb7cb857e8bfae1d782b8c6 /ishtar_common/models_common.py | |
parent | 59224740abd34329a4aba6f84b0f715a977718d3 (diff) | |
download | Ishtar-faf34feb2bcebd3fe4fa14f21aa65b49f76c886d.tar.bz2 Ishtar-faf34feb2bcebd3fe4fa14f21aa65b49f76c886d.zip |
🗃️ add updated relation between imports and main items
Diffstat (limited to 'ishtar_common/models_common.py')
-rw-r--r-- | ishtar_common/models_common.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 |