From b1821fbad5518c8ae56b7b5c2b1ea2afbbd25c7a Mon Sep 17 00:00:00 2001 From: Timothy McCurrach Date: Wed, 20 Jan 2021 16:12:24 +0000 Subject: Fixed #32360 -- Added system check for FILE_UPLOAD_TEMP_DIR setting. --- docs/ref/checks.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'docs') 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 ````. + Model fields ------------ -- cgit v1.3