2018-05-23 21:28:27 +00:00
|
|
|
from django.urls import path
|
2015-10-05 16:35:30 +00:00
|
|
|
|
2020-08-03 20:36:09 +00:00
|
|
|
from .views import ProfileApiView, ProfileDetail, ProfileUpdate
|
2018-04-03 16:44:10 +00:00
|
|
|
|
2019-06-16 12:32:24 +00:00
|
|
|
app_name = "profiles"
|
2015-10-05 16:35:30 +00:00
|
|
|
urlpatterns = [
|
2019-06-16 12:32:24 +00:00
|
|
|
path("", ProfileDetail.as_view(), name="detail"),
|
2020-07-30 18:45:35 +00:00
|
|
|
path("edit/", ProfileUpdate.as_view(), name="update"),
|
2020-08-03 20:36:09 +00:00
|
|
|
path("api/", ProfileApiView.as_view(), name="api"),
|
2016-02-20 04:18:12 +00:00
|
|
|
]
|