Documentation: hazards with django.middleware.locale.LocaleMiddleware

Issue #14 resolved
Chris Adams
created an issue

I ran into a momentary bit of confusion on a site where {{{django.middleware.locale.LocaleMiddleware}}} was listed in middleware after {{{localeurl.middleware.LocaleURLMiddleware}}}, which had the side effect of causing all content to be rendered according to the normal Django logic. The easiest fix is probably a simple "don't use both" note in the docs with a pointer to {{{LOCALEURL_USE_ACCEPT_LANGUAGE}}}.

Comments (1)

  1. Log in to comment