10 lines
307 B
Python
10 lines
307 B
Python
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"),
|
|
]
|