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>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* keywords: cache, wrong documentation => cache, wrong-documentation
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/26031#comment:1>
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>
* status: new => closed
* resolution: => worksforme
Comment:
I don't see a mention of "get_or_set" on the page you linked or in the
"stable/1.8.x" branch.
--
Ticket URL: <https://code.djangoproject.com/ticket/26031#comment:3>