fix(doc): update resize method: Image.LANCZOS

This commit is contained in:
0xMRTT 2023-02-23 23:20:07 +01:00 committed by GitHub
parent 5416cf88f2
commit 3a33f67406
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -211,8 +211,7 @@ appear on the site. Listed below are those settings:
.. py:data:: AVATAR_RESIZE_METHOD
The method to use when resizing images, based on the options available in
Pillow. Defaults to ``Image.Resampling.LANCZOS`` if the version of Pillow
is greater than 9.1.0 otherwise it's ``Image.ANTIALIASING``
Pillow. Defaults to ``Image.LANCZOS``.
.. py:data:: AVATAR_STORAGE_DIR