From b02f08e02c34bcf19444c15b54c5f64ddd4c9ef2 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Wed, 2 Sep 2015 13:20:46 +0100 Subject: Fixed #25034 -- Converted caches ImproperlyConfigured error to a system check. --- docs/ref/checks.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs') 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. -- cgit v1.3