remove etag from API HTML view (because it shows the username)
This commit is contained in:
parent
80497a31a4
commit
a433a204e2
2 changed files with 13 additions and 0 deletions
|
@ -193,6 +193,7 @@ MIDDLEWARE = [
|
|||
'django.contrib.auth.middleware.AuthenticationMiddleware',
|
||||
'django.contrib.messages.middleware.MessageMiddleware',
|
||||
'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
||||
'c3nav.api.middleware.RemoveEtagFromHTMLApiViewMiddleware'
|
||||
]
|
||||
|
||||
with suppress(ImportError):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue