add initial localization support for the front end #215

This commit is contained in:
jonaswinkler
2020-12-30 00:26:06 +01:00
parent d909010f08
commit 5395208b00
5 changed files with 26 additions and 5 deletions

View File

@@ -88,7 +88,8 @@ urlpatterns = [
# Frontend assets TODO: this is pretty bad, but it works.
path('assets/<path:path>',
RedirectView.as_view(url='/static/frontend/assets/%(path)s')),
RedirectView.as_view(url='/static/frontend/en-us/assets/%(path)s')),
# TODO: with localization, this is even worse! :/
# login, logout
path('accounts/', include('django.contrib.auth.urls')),