From 9b6542ce76005321bcac80f314aa44c7e382e7a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Dlouh=C3=BD?= Date: Tue, 23 Jan 2024 11:50:11 +0100 Subject: [PATCH] add THUMBNAIL_STORAGE_ALIAS to docs --- doc_src/reference/settings.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc_src/reference/settings.rst b/doc_src/reference/settings.rst index 96c542f..f00d4cc 100644 --- a/doc_src/reference/settings.rst +++ b/doc_src/reference/settings.rst @@ -22,6 +22,7 @@ The default settings are: 'FK_REGISTRY': {}, 'THUMBNAIL_UPLOAD_PATH': 'uploads/categories/thumbnails', 'THUMBNAIL_STORAGE': settings.DEFAULT_FILE_STORAGE, + 'THUMBNAIL_STORAGE_ALIAS': 'default', 'SLUG_TRANSLITERATOR': lambda x: x, 'ADMIN_FIELDSETS': {} } @@ -112,6 +113,15 @@ THUMBNAIL_STORAGE **Description:** How to store the thumbnails. Allows for external storage engines like S3. +.. _THUMBNAIL_STORAGE: + +THUMBNAIL_STORAGE_ALIAS +======================= + +**Default:** ``default`` + +**Description:** If new STORAGES settings from Django 4.2+ is used, use storage with this alias. + .. _JAVASCRIPT_URL: JAVASCRIPT_URL