mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 01:27:03 +02:00
Reformat
This commit is contained in:
parent
cf0b342bbb
commit
bb66043e59
1 changed files with 1 additions and 3 deletions
|
@ -723,9 +723,7 @@ class DomainAdmin(ListHeaderAdmin):
|
||||||
# Could be problematic if the type is similar,
|
# Could be problematic if the type is similar,
|
||||||
# but not the same (same field/func names).
|
# but not the same (same field/func names).
|
||||||
# We do not want to accidentally delete records.
|
# We do not want to accidentally delete records.
|
||||||
self.message_user(
|
self.message_user(request, "Object is not of type Domain", messages.ERROR)
|
||||||
request, "Object is not of type Domain", messages.ERROR
|
|
||||||
)
|
|
||||||
return
|
return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue