diff --git a/cof/urls.py b/cof/urls.py index 0a239c62..82d047e7 100644 --- a/cof/urls.py +++ b/cof/urls.py @@ -28,7 +28,7 @@ admin.autodiscover() urlpatterns = [ # Page d'accueil - path("", gestioncof_views.home, name="home"), + path("", gestioncof_views.HomeView.as_view(), name="home"), # Le BdA path("bda/", include("bda.urls")), # Les exports diff --git a/gestioncof/templates/home.html b/gestioncof/templates/gestioncof/home.html similarity index 90% rename from gestioncof/templates/home.html rename to gestioncof/templates/gestioncof/home.html index b14c0a82..90fa3b04 100644 --- a/gestioncof/templates/home.html +++ b/gestioncof/templates/gestioncof/home.html @@ -7,18 +7,8 @@ {% block interm_content %}