Skip to content

Commit

Permalink
add THUMBNAIL_STORAGE_ALIAS to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed Jan 23, 2024
1 parent 5d1bbfb commit 9db0649
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc_src/reference/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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': {}
}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9db0649

Please sign in to comment.