fix locale discovery by django app

This commit is contained in:
jonaswinkler
2021-01-02 01:19:01 +01:00
parent 6d143d1b2b
commit 01be0868ed
3 changed files with 20 additions and 6 deletions

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