mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 01:12:08 +01:00 
			
		
		
		
	enable JavaScriptCatalog view
This commit is contained in:
		@@ -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 = [
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    # 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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user