Export JS translation files as static files
This commit is contained in:
parent
23243e09bb
commit
b9d49d53f2
10 changed files with 156 additions and 15 deletions
|
|
@ -6,7 +6,6 @@ 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
|
||||
|
||||
|
|
@ -35,9 +34,6 @@ 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue