diff options
| author | Tom Christie <tom@tomchristie.com> | 2015-09-02 13:20:46 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-09-18 07:44:39 -0400 |
| commit | b02f08e02c34bcf19444c15b54c5f64ddd4c9ef2 (patch) | |
| tree | a5abe6749a8c1880c9117fddcef7741e9593888d /docs/ref | |
| parent | f33b3ebd5302fe5821dd796156b0be66c5aebec9 (diff) | |
Fixed #25034 -- Converted caches ImproperlyConfigured error to a system check.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/checks.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 226db547a0..31f9a297cd 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -80,6 +80,7 @@ Django's system checks are organized using the following tags: * ``compatibility``: Flagging potential problems with version upgrades. * ``security``: Checks security related configuration. * ``templates``: Checks template related configuration. +* ``caches``: Checks cache related configuration. Some checks may be registered with multiple tags. @@ -569,3 +570,12 @@ configured: * **templates.E001**: You have ``'APP_DIRS': True`` in your :setting:`TEMPLATES` but also specify ``'loaders'`` in ``OPTIONS``. Either remove ``APP_DIRS`` or remove the ``'loaders'`` option. + +Caches +------ + +The following checks verify that your :setting:`CACHES` setting is correctly +configured: + +* **caches.E001**: You must define a ``'default'`` cache in your + :setting:`CACHES` setting. |
