Move flushing the display recipient cache to its own middleware

(imported from commit 27a6935a5830ef986b18de169d66dd86d273d064)
This commit is contained in:
Zev Benjamin
2013-11-08 15:13:34 -05:00
parent 53ec292022
commit 32ed5f9f42
2 changed files with 9 additions and 5 deletions

View File

@@ -156,6 +156,7 @@ MIDDLEWARE_CLASSES = (
'zerver.middleware.LogRequests',
'zerver.middleware.JsonErrorHandler',
'zerver.middleware.RateLimitMiddleware',
'zerver.middleware.FlushDisplayRecipientCache',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',