summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-02-08 15:04:13 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-02-08 15:04:13 +0100
commit61518a66e417c2c210291d0b589dae8e02a8083f (patch)
tree3c2344914281e04eb2c3b2baaac626551e0bae77 /ishtar_common/models.py
parentf4f80f3b5f716fea97cfa58612ef1d04ada378c1 (diff)
downloadIshtar-61518a66e417c2c210291d0b589dae8e02a8083f.tar.bz2
Ishtar-61518a66e417c2c210291d0b589dae8e02a8083f.zip
Document duplicate - do not duplicate image - allow redirection to modify
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index e0b22a4f0..f483020e0 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -446,6 +446,7 @@ class ImageModel(models.Model, ImageContainerModel):
max_length=255,
help_text=max_size_help(),
)
+ DUPLICATE_EXCLUDE = ["image", "thumbnail"]
IMAGE_MAX_SIZE = settings.IMAGE_MAX_SIZE
THUMB_MAX_SIZE = settings.THUMB_MAX_SIZE
IMAGE_PREFIX = ""