Changement theme avec jazzmin

This commit is contained in:
Ambulance Clerc
2023-06-04 10:41:33 +02:00
parent e55af28b25
commit 0730f7426b
10 changed files with 36 additions and 16 deletions

View File

@@ -9,11 +9,7 @@ from carnet_rouge import views
app_name = "carnet_rouge"
urlpatterns = [
path('cr', views.model_form_view, name='model_form_view'),
path('view/<int:pk>', views.CrDetailView.as_view(), name='cr_view'),
path('view/<uuid:pk>', views.CrDetailView.as_view(), name='cr_view'),
path('notread', views.CrNotReadView.as_view(), name='cr_not_read_list'),
path('summernote/', include('django_summernote.urls')),
path('editor/', include('django_summernote.urls')),
]
if settings.DEBUG:
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)