#26031: cache.get_or_set isn't available in 1.8
-------------------------------------+-------------------------------------
Reporter: gautamk | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 1.8
Severity: Normal | Resolution:
Keywords: cache, wrong- | Triage Stage:
documentation | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by gautamk:
Old description:
> The documentation wrongly suggest that cache.get_or_set is available in
> django 1.8,
>
> https://docs.djangoproject.com/en/1.8/topics/cache/#django.core.cache.caches
>
> but when I check the source under the 1.8.8 tag I couldn't find the
> method definition.
>
> https://github.com/django/django/blob/1.8.8/django/core/cache/backends/base.py
New description:
The documentation wrongly suggests that cache.get_or_set is available in
django 1.8,
https://docs.djangoproject.com/en/1.8/topics/cache/#django.core.cache.caches
but when I check the source under the 1.8.8 tag I couldn't find the method
definition.
https://github.com/django/django/blob/1.8.8/django/core/cache/backends/base.py
--
--
Ticket URL: <https://code.djangoproject.com/ticket/26031#comment:2>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.c6df73dbcf412e5a42b2569a05850bbc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.