Skip to content
Snippets Groups Projects
Commit 420a24eb authored by elkmaennchen's avatar elkmaennchen 🍫
Browse files

enable JavaScriptCatalog view

parent d566def7
No related branches found
No related tags found
2 merge requests!140Js translations,!125Js translations
Pipeline #8741 passed with stages
in 11 minutes and 21 seconds
...@@ -6,6 +6,7 @@ from django.conf.urls.static import static ...@@ -6,6 +6,7 @@ from django.conf.urls.static import static
from django.urls import path, include from django.urls import path, include
from django.views.defaults import bad_request, permission_denied, page_not_found, server_error from django.views.defaults import bad_request, permission_denied, page_not_found, server_error
from django.views.generic import RedirectView from django.views.generic import RedirectView
from django.views.i18n import JavaScriptCatalog
from member.views import CustomLoginView from member.views import CustomLoginView
...@@ -34,6 +35,9 @@ urlpatterns = [ ...@@ -34,6 +35,9 @@ urlpatterns = [
# Make coffee # Make coffee
path('coffee/', include('django_htcpcp_tea.urls')), path('coffee/', include('django_htcpcp_tea.urls')),
# Translate js
path('jsi18n/', JavaScriptCatalog.as_view(), name='javascript-catalog'),
] ]
# During development, serve media files # During development, serve media files
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment