Some view logic

This commit is contained in:
zandercymatics 2024-01-04 10:27:51 -07:00
parent 25303c92f1
commit 64687ea786
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
6 changed files with 84 additions and 2 deletions

View file

@ -138,6 +138,11 @@ urlpatterns = [
views.DomainInvitationDeleteView.as_view(http_method_names=["post"]),
name="invitation-delete",
),
path(
"domain/<int:pk>/users/<int:user_pk>/delete",
views.DomainDeleteUserView.as_view(http_method_names=["post"]),
name="domain-user-delete",
),
]
# we normally would guard these with `if settings.DEBUG` but tests run with