diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-09-22 14:49:22 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-02-05 10:51:52 +0100 |
commit | be35d0d9508839e9a0966bae94bf702fc9e32a67 (patch) | |
tree | 06840fcdad5d0b216bd7823f61f0555b7825c203 /ishtar_common/models_common.py | |
parent | a8e3326b625baf4de4f612dfaef3333dc77d13cc (diff) | |
download | Ishtar-be35d0d9508839e9a0966bae94bf702fc9e32a67.tar.bz2 Ishtar-be35d0d9508839e9a0966bae94bf702fc9e32a67.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 |