First commit
This commit is contained in:
20
profiles/urls.py
Normal file
20
profiles/urls.py
Normal 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'
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user