Opened 11 years ago
Closed 11 years ago
#21697 closed Cleanup/optimization (fixed)
Add a method to clear app registry caches
Reported by: | Aymeric Augustin | Owned by: | nobody |
---|---|---|---|
Component: | Core (Other) | Version: | dev |
Severity: | Normal | Keywords: | app-loading |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Currently Django calls apps.get_models.cache_clear() 8 times.
It should call apps.clear_caches() to abstract the implementation and allow adding more caching in the future.
Change History (2)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in 21f22f9544b0c6c4390bcd1acd98e6e5201ed83e.