Opened 9 years ago
Last modified 9 years ago
#26031 closed Bug
cache.get_or_set isn't available in 1.8 — at Initial Version
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
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
Note:
See TracTickets
for help on using tickets.