beesgospel/common/urls.py

17 lines
772 B
Python

from django.contrib import admin
from django.urls import include, path
from django.views.generic import TemplateView
from beesgospel import views
urlpatterns = [
path("admin/", admin.site.urls),
path("accounts/", include("django.contrib.auth.urls")),
path("", TemplateView.as_view(template_name="index.html"), name="home"),
path("v2", TemplateView.as_view(template_name="index2.html"), name="home"),
path("presentation/", TemplateView.as_view(template_name="presentation.html"), name="presentation"),
path("contact/", TemplateView.as_view(template_name="contact.html"), name="contact"),
path("membres/", views.EspaceMembresView.as_view(), name="membres"),
path("membres/liste/", views.ListeMembresView.as_view(), name="liste-membres"),
]