diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2026-04-14 10:41:32 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2026-04-14 10:41:32 +0200 |
| commit | 4d3163a588882ed0c54217fb256556be93f69d1f (patch) | |
| tree | 971449842fecdf69df8b4ffece6558b258cff776 /ishtar_common/models.py | |
| parent | 47c4fbec8a17b339de00d33ac5cedaf846b71ba2 (diff) | |
| download | Ishtar-4d3163a588882ed0c54217fb256556be93f69d1f.tar.bz2 Ishtar-4d3163a588882ed0c54217fb256556be93f69d1f.zip | |
🚑️ admin imports: fix permissions
Diffstat (limited to 'ishtar_common/models.py')
| -rw-r--r-- | ishtar_common/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 2d00f3455..0d9155aef 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -5547,6 +5547,7 @@ class Document( def set_main_image(self, __, value): """ Post importer action - set the imported image as a main image for associated "value" items + For instance: use "finds" to set this image as main for associated finds """ for item in getattr(self, value).all(): item.main_image = self |
