@@ -0,0 +1,9 @@
|
||||
from django.urls import path
|
||||
|
||||
from .views import ProfileListView, ProfileUpdateView, activate_profile
|
||||
|
||||
urlpatterns = [
|
||||
path("", ProfileListView.as_view(), name="list"),
|
||||
path("<int:pk>/", ProfileUpdateView.as_view(), name="edit"),
|
||||
path("<int:pk>/activate/", activate_profile, name="activate"),
|
||||
]
|
||||
Reference in New Issue
Block a user