""" URLs principales du projet """ from django.contrib import admin from django.urls import path, include from django.views.generic import TemplateView urlpatterns = [ path('admin/', admin.site.urls), # Page d'accueil simple path('', TemplateView.as_view(template_name='home.html'), name='home'), # URLs d'authentification (login, logout, etc.) path('accounts/', include('django.contrib.auth.urls')), # URLs de notre application 'profiles' path('profile/', include('profiles.urls', namespace='profiles')), # Page protégée pour la démonstration OWASP ZAP path('protected/', TemplateView.as_view(template_name='protected.html'), name='protected'), ]