Files
2025-12-18 14:35:15 +01:00

20 lines
385 B
Python

from django.urls import path
from . import views
app_name = 'profiles'
urlpatterns = [
# L'URL VULNÉRABLE
path(
'vulnerable/<int:pk>/',
views.VulnerableProfileView.as_view(),
name='vulnerable_detail'
),
# L'URL SÉCURISÉE
path(
'secure/<int:pk>/',
views.SecureProfileView.as_view(),
name='secure_detail'
),
]