fix locale discovery by django app

This commit is contained in:
jonaswinkler committed 2021-01-02 01:19:06 +01:00
1 parent c6af2044ce
commit bf198f37db
3 files changed
+20 -6

No files matched your search

+1 -1
View File
@@ -90,7 +90,7 @@ urlpatterns = [
# Frontend assets TODO: this is pretty bad, but it works.
path('assets/<path:path>',
RedirectView.as_view(url='/static/frontend/en-us/assets/%(path)s')),
RedirectView.as_view(url='/static/frontend/en-US/assets/%(path)s')),
# TODO: with localization, this is even worse! :/
# login, logout