Refs #29817 -- Removed settings.FILE_CHARSET per deprecation timeline.

This commit is contained in:
Mariusz Felisiak 2019-09-05 16:25:30 +02:00
parent b47bb4c4a7
commit 3d716467a9
10 changed files with 6 additions and 93 deletions

View file

@ -1414,21 +1414,6 @@ Default: ``None``
Specifies a timeout in seconds for blocking operations like the connection
attempt.
.. setting:: FILE_CHARSET
``FILE_CHARSET``
----------------
Default: ``'utf-8'``
The character encoding used to decode any files read from disk. This includes
template files, static files, and translation catalogs.
.. deprecated:: 2.2
This setting is deprecated. Starting with Django 3.1, files read from disk
must be UTF-8 encoded.
.. setting:: FILE_UPLOAD_HANDLERS
``FILE_UPLOAD_HANDLERS``

View file

@ -232,3 +232,5 @@ to remove usage of these features.
* ``django.contrib.postgres.fields.FloatRangeField`` and
``django.contrib.postgres.forms.FloatRangeField`` are removed.
* The ``FILE_CHARSET`` setting is removed.