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:49:43 +0200 |
| commit | e90735ab246b5d44405c5a9501cdf4493c561b66 (patch) | |
| tree | fc669ee9151c1aeb4da7754709d2feba90bc3246 /ishtar_common/models.py | |
| parent | 003697acfce45e3196c8245f2354f76afe3115f4 (diff) | |
| download | Ishtar-e90735ab246b5d44405c5a9501cdf4493c561b66.tar.bz2 Ishtar-e90735ab246b5d44405c5a9501cdf4493c561b66.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 e06071550..d39245fce 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -5374,6 +5374,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 |
