Set `FEED_EXPORT_ENCODING='utf-8'` in the default template

This commit is contained in:
Laerte Pereira 2023-01-20 07:55:16 -03:00
parent f449ee5377
commit 8270df754d
No known key found for this signature in database
GPG Key ID: BB69B5C731BB8A80
2 changed files with 6 additions and 0 deletions

View File

@ -515,6 +515,11 @@ which uses safe numeric encoding (``\uXXXX`` sequences) for historic reasons.
Use ``utf-8`` if you want UTF-8 for JSON too.
.. versionchanged:: 2.8
The :command:`startproject` command now sets this setting to
``utf-8`` in the generated
``settings.py`` file.
.. setting:: FEED_EXPORT_FIELDS
FEED_EXPORT_FIELDS

View File

@ -90,3 +90,4 @@ ROBOTSTXT_OBEY = True
# Set settings whose default value is deprecated to a future-proof value
REQUEST_FINGERPRINTER_IMPLEMENTATION = '2.7'
TWISTED_REACTOR = 'twisted.internet.asyncioreactor.AsyncioSelectorReactor'
FEED_EXPORT_ENCODING = 'utf-8'