13 lines
244 B
Python
13 lines
244 B
Python
from django.urls import path
|
|
|
|
from .views import (
|
|
ProfileDetail,
|
|
ProfileUpdate,
|
|
)
|
|
|
|
app_name = 'profiles'
|
|
urlpatterns = [
|
|
path('', ProfileDetail.as_view(), name='detail'),
|
|
path('edit', ProfileUpdate.as_view(), name='update'),
|
|
]
|