mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #32360 -- Added system check for FILE_UPLOAD_TEMP_DIR setting.
This commit is contained in:
committed by
Mariusz Felisiak
parent
725c549ae7
commit
b1821fbad5
@@ -82,6 +82,7 @@ Django's system checks are organized using the following tags:
|
||||
regular checks do. They are only run by the :djadmin:`migrate` command or if
|
||||
you specify configured database aliases using the ``--database`` option when
|
||||
calling the :djadmin:`check` command.
|
||||
* ``files``: Checks files related configuration.
|
||||
* ``models``: Checks of model, field, and manager definitions.
|
||||
* ``security``: Checks security related configuration.
|
||||
* ``signals``: Checks on signal declarations and handler registrations.
|
||||
@@ -97,6 +98,10 @@ Some checks may be registered with multiple tags.
|
||||
|
||||
The ``sites`` tag was added.
|
||||
|
||||
.. versionchanged:: 4.0
|
||||
|
||||
The ``files`` tag was added.
|
||||
|
||||
Core system checks
|
||||
==================
|
||||
|
||||
@@ -150,6 +155,16 @@ If you're using MySQL or MariaDB, the following checks will be performed:
|
||||
* **mysql.W003**: MySQL/MariaDB may not allow unique ``CharField``\s to have a
|
||||
``max_length`` > 255.
|
||||
|
||||
Managing files
|
||||
--------------
|
||||
|
||||
.. versionadded:: 4.0
|
||||
|
||||
The following checks verify your setup for :doc:`/topics/files`:
|
||||
|
||||
* **files.E001**: The :setting:`FILE_UPLOAD_TEMP_DIR` setting refers to the
|
||||
nonexistent directory ``<path>``.
|
||||
|
||||
Model fields
|
||||
------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user