20 lines
385 B
Python
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'
|
|
),
|
|
] |