SmileyChris / easy-thumbnails

Easy thumbnails for Django
http://easy-thumbnails.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
1.37k stars 312 forks source link

Allow use of new Django4.2 STORAGE config #625

Open mpadjen opened 8 months ago

mpadjen commented 8 months ago

Django 4.2 has introduced STORAGES setting that allows nicer management of multiple storages. It would be nice if this package allowed setting something like:

STORAGES = {
    "thumbnail_default": {
        "BACKEND": "easy_thumbnails.storage.ThumbnailFileSystemStorage",
    },
}

instead of only relying on "older style" THUMBNAIL_DEFAULT_STORAGE