mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-11 12:09:36 +02:00
Update permission_views.py
This commit is contained in:
parent
8082083d63
commit
b23f361a08
1 changed files with 3 additions and 0 deletions
|
@ -158,5 +158,8 @@ class UserDomainRolePermissionDeleteView(UserDomainRolePermissionView, DeleteVie
|
||||||
|
|
||||||
# DetailView property for what model this is viewing
|
# DetailView property for what model this is viewing
|
||||||
model = UserDomainRole
|
model = UserDomainRole
|
||||||
|
# workaround for type mismatch in DeleteView
|
||||||
|
object: UserDomainRole
|
||||||
|
|
||||||
# variable name in template context for the model object
|
# variable name in template context for the model object
|
||||||
context_object_name = "userdomainrole"
|
context_object_name = "userdomainrole"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue