Opened 9 years ago

Closed 9 years ago

#26031 closed Bug (worksforme)

cache.get_or_set isn't available in 1.8

Reported by: Gautam Owned by: nobody
Component: Documentation Version: 1.8
Severity: Normal Keywords: cache, wrong-documentation
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description (last modified by Gautam)

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

Change History (3)

comment:1 by Gautam, 9 years ago

Keywords: wrong-documentation added; wrong documentation removed

comment:2 by Gautam, 9 years ago

Description: modified (diff)

comment:3 by Tim Graham, 9 years ago

Resolution: worksforme
Status: newclosed

I don't see a mention of "get_or_set" on the page you linked or in the "stable/1.8.x" branch.

Note: See TracTickets for help on using tickets.
Back to Top