mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 11:27:09 +00:00
feat(people): Add detail views for Person and Relationship
This commit is contained in:
20
people/urls.py
Normal file
20
people/urls.py
Normal 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'),
|
||||
]
|
||||
Reference in New Issue
Block a user