SmileyChris / easy-thumbnails

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

Allow use of new Django4.2 STORAGE config #625

Open mpadjen opened 1 year ago

mpadjen commented 1 year 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