First commit

This commit is contained in:
Johan
2025-12-18 14:35:15 +01:00
commit 460c962bb6
26 changed files with 796 additions and 0 deletions

20
profiles/urls.py Normal file
View File

@@ -0,0 +1,20 @@
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'
),
]