Files
breccia-mapper/people/urls.py

21 lines
405 B
Python

from django.urls import path
from . import views
app_name = 'people'
urlpatterns = [
path('profile/',
views.ProfileView.as_view(),
name='person.profile'),
path('people/<int:pk>',
views.ProfileView.as_view(),
name='person.detail'),
path('relationships/<int:pk>',
views.RelationshipDetailView.as_view(),
name='relationship.detail'),
]