1
0
mirror of https://github.com/django/django.git synced 2025-07-17 16:19:12 +00:00

[3.1.x] Fixed #32176 -- Clarified filesystem cache docs.

Backport of a43e2f66d76fddd791ff0b88361faba304447ff9 from master
This commit is contained in:
Carles Pina Estany 2020-11-10 10:15:29 +00:00 committed by Carlton Gibson
parent cc3870c30f
commit 09dbae21c9

View File

@ -290,11 +290,12 @@ The directory path should be absolute -- that is, it should start at the root
of your filesystem. It doesn't matter whether you put a slash at the end of the
setting.
Make sure the directory pointed-to by this setting exists and is readable and
writable by the system user under which your Web server runs. Continuing the
above example, if your server runs as the user ``apache``, make sure the
directory ``/var/tmp/django_cache`` exists and is readable and writable by the
user ``apache``.
Make sure the directory pointed-to by this setting either exists and is
readable and writable, or that it can be created by the system user under which
your Web server runs. Continuing the above example, if your server runs as the
user ``apache``, make sure the directory ``/var/tmp/django_cache`` exists and
is readable and writable by the user ``apache``, or that it can be created by
the user ``apache``.
.. _local-memory-caching: