Add the language to the admin tool

This commit is contained in:
Rodolphe Breard 2018-01-28 15:47:39 +01:00
parent df2032ef05
commit a12014e2f1

View file

@ -21,11 +21,11 @@ from pages.views import index
urlpatterns = [ urlpatterns = [
path('', index), path('', index),
path('admin/', admin.site.urls),
] ]
urlpatterns += i18n_patterns( urlpatterns += i18n_patterns(
path('', index), path('', index),
path('admin/', admin.site.urls),
path('page/', include('pages.urls')), path('page/', include('pages.urls')),
path('logs/', include('logs.urls')), path('logs/', include('logs.urls')),
) )