#32176: Filesystem caching documentation incorrect
-------------------------------------+-------------------------------------
Reporter: Carles | Owner: Carles Pina Estany
Pina Estany |
Type: Bug | Status: assigned
Component: | Version: master
Documentation |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 1
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
In: https://docs.djangoproject.com/en/3.1/topics/cache/#filesystem-caching
It says that {{{LOCATION}}} needs to exist. But the code creates it if it
doesn't exist:
https://github.com/django/django/blob/354c1524b38c9b9f052c1d78dcbfa6ed5559aeb3/django/core/cache/backends/filebased.py#L116
called from
https://github.com/django/django/blob/master/django/core/cache/backends/filebased.py#L23
Current documentation:
{{{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.}}}
PR coming soon.
--
Ticket URL: <https://code.djangoproject.com/ticket/32176>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/048.1b82f059a4e25a3d2d284b1998834613%40djangoproject.com.