Opened 5 years ago

Closed 5 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: master
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


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 Changed 5 years ago by Aymeric Augustin

comment:2 Changed 5 years ago by Aymeric Augustin

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top