Opened 7 years ago

Closed 7 years ago

#29479 closed Cleanup/optimization (fixed)

'caches' is not declared in __all__

Reported by: Victor Borisov Owned by: nobody
Component: Core (Cache system) Version: 2.0
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

There is an example in the documentation:

from django.core.cache import caches

https://docs.djangoproject.com/en/2.0/topics/cache/#django.core.cache.caches

but 'caches' is not declared in __all__, may be insert it in?

Change History (1)

comment:1 by Tim Graham, 7 years ago

Resolution: fixed
Status: newclosed

In 0914a2003b1ad50f1d641709da86c14826bf063b:

Added 'caches' to django.core.cache.__all__.

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