diff options
| author | Timothy McCurrach <tim.mccurrach@gmail.com> | 2021-01-20 16:12:24 +0000 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-01-22 07:51:00 +0100 |
| commit | b1821fbad5518c8ae56b7b5c2b1ea2afbbd25c7a (patch) | |
| tree | a45b88d09e2d80808e5187315db4bd761b0d70c2 /docs | |
| parent | 725c549ae7a34d83447201da7190f8d71c7fc2fc (diff) | |
Fixed #32360 -- Added system check for FILE_UPLOAD_TEMP_DIR setting.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/checks.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 1025549370..7761a2a323 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -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 ------------ |
