From dffdc666dcbb8039d2a6fbd2c11b88de71fdfdbe Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 8 Feb 2022 15:04:13 +0100 Subject: Document duplicate - do not duplicate image - allow redirection to modify --- ishtar_common/models.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ishtar_common/models.py') 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 = "" -- cgit v1.2.3