mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-10 16:46:50 +01:00
add initial localization support for the front end #215
This commit is contained in:
parent
d909010f08
commit
5395208b00
5 changed files with 26 additions and 5 deletions
|
|
@ -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')),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue