app.middleware

drop_accept_langauge

drop_accept_langauge(get_response)

Define the middleware to remove accept-language headers from requests.

This middleware is essentially a hack to allow us to continue to use the standard Django LocaleMiddleware without modification, but simply disable the autodetection aspect based on the Accept-Language header.