mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Refs #29817 -- Removed settings.FILE_CHARSET per deprecation timeline.
This commit is contained in:
parent
b47bb4c4a7
commit
3d716467a9
10 changed files with 6 additions and 93 deletions
|
@ -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``
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue