diff --git a/greg/api/urls.py b/greg/api/urls.py index 1f236c7a0836ea338c34c0a04bf342e92b07c95e..6428641d97d1370684bb8c48b6c231bf16bd2ae8 100644 --- a/greg/api/urls.py +++ b/greg/api/urls.py @@ -43,7 +43,9 @@ urlpatterns += [ ), re_path( r"^persons/(?P<person_id>[0-9]+)/identities/(?P<id>[0-9]+)$", - PersonIdentityViewSet.as_view({"get": "retrieve", "delete": "destroy", "patch": "partial_update"}), + PersonIdentityViewSet.as_view( + {"get": "retrieve", "delete": "destroy", "patch": "partial_update"} + ), name="person_identity-detail", ), re_path(