You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.
My recollection is this custom middleware was written prior to Django having its own locale middleware, or at least, the Django native middleware didn't do what we want.
The last time this code was meaningfully updated was in 2014, when it was extracted from edx-platform. We should take a step back and investigate if there are Django native patterns around localization we should follow, to bring our project up to Django standards and avoid maintenance burden of custom middleware.
My recollection is this custom middleware was written prior to Django having its own locale middleware, or at least, the Django native middleware didn't do what we want.
The last time this code was meaningfully updated was in 2014, when it was extracted from edx-platform. We should take a step back and investigate if there are Django native patterns around localization we should follow, to bring our project up to Django standards and avoid maintenance burden of custom middleware.
Can we replace this middleware with Django's LocaleMiddleware? Docs are here.
The text was updated successfully, but these errors were encountered: