(**kwargs)
| 59 | |
| 60 | |
| 61 | def close_caches(**kwargs): |
| 62 | # Some caches need to do a cleanup at the end of a request cycle. If not |
| 63 | # implemented in a particular backend cache.close() is a no-op. |
| 64 | caches.close_all() |
| 65 | |
| 66 | |
| 67 | signals.request_finished.connect(close_caches) |
no test coverage detected