feat(people): Add detail views for Person and Relationship

This commit is contained in:
James Graham
2020-02-18 14:38:41 +00:00
parent 026fc10999
commit 4b2abd5d6c
6 changed files with 161 additions and 0 deletions

20
people/urls.py Normal file
View File

@@ -0,0 +1,20 @@
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'),
]