enable JavaScriptCatalog view

This commit is contained in:
elkmaennchen 2020-09-19 22:42:35 +02:00
parent d566def706
commit 420a24ebac
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,7 @@ from django.conf.urls.static import static
from django.urls import path, include
from django.views.defaults import bad_request, permission_denied, page_not_found, server_error
from django.views.generic import RedirectView
from django.views.i18n import JavaScriptCatalog
from member.views import CustomLoginView
@ -34,6 +35,9 @@ urlpatterns = [
# Make coffee
path('coffee/', include('django_htcpcp_tea.urls')),
# Translate js
path('jsi18n/', JavaScriptCatalog.as_view(), name='javascript-catalog'),
]
# During development, serve media files