Re: [Django] #32176: Filesystem caching documentation incorrect

2020-11-06 Thread Django
#32176: Filesystem caching documentation incorrect
-+-
 Reporter:  Carles Pina Estany   |Owner:  Carles
 |  Pina Estany
 Type:  Bug  |   Status:  assigned
Component:  Documentation|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-
Description changed by Carles Pina Estany:

Old description:

> 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.

New description:

 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: https://github.com/django/django/pull/13649

--

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.2a6172f10f36b27849f724d8c06a35d8%40djangoproject.com.


Re: [Django] #32176: Filesystem caching documentation incorrect

2020-11-06 Thread Django
#32176: Filesystem caching documentation incorrect
-+-
 Reporter:  Carles Pina Estany   |Owner:  Carles
 |  Pina Estany
 Type:  Bug  |   Status:  assigned
Component:  Documentation|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-
Changes (by Carles Pina Estany):

 * cc: Carles Pina Estany (added)


-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.9002622fcfae27f32ad670e3f44f6922%40djangoproject.com.


Re: [Django] #32176: Filesystem caching documentation incorrect

2020-11-06 Thread Django
#32176: Filesystem caching documentation incorrect
-+-
 Reporter:  Carles Pina Estany   |Owner:  Carles
 |  Pina Estany
 Type:  Bug  |   Status:  assigned
Component:  Documentation|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-

Comment (by Carles Pina Estany):

 See PR: https://github.com/django/django/pull/13649

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.521a8cdb5285af7c1a6a96a8842f96db%40djangoproject.com.