Update permission_views.py

This commit is contained in:
zandercymatics 2024-01-18 15:53:59 -07:00
parent 8082083d63
commit b23f361a08
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -158,5 +158,8 @@ class UserDomainRolePermissionDeleteView(UserDomainRolePermissionView, DeleteVie
# DetailView property for what model this is viewing
model = UserDomainRole
# workaround for type mismatch in DeleteView
object: UserDomainRole
# variable name in template context for the model object
context_object_name = "userdomainrole"