bornhack-website/src/profiles/urls.py

11 lines
304 B
Python
Raw Normal View History

from django.urls import path
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"
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"),
path("api/", ProfileApiView.as_view(), name="api"),
2016-02-20 04:18:12 +00:00
]