mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-28 09:50:46 +02:00
linted and fixed urls
This commit is contained in:
parent
efe3c4e5de
commit
732766da0e
3 changed files with 5 additions and 6 deletions
|
@ -1081,9 +1081,7 @@ class DomainRequestAdmin(ListHeaderAdmin):
|
|||
)
|
||||
|
||||
elif (
|
||||
obj
|
||||
and obj.status == models.DomainRequest.DomainRequestStatus.REJECTED
|
||||
and not obj.rejection_reason
|
||||
obj and obj.status == models.DomainRequest.DomainRequestStatus.REJECTED and not obj.rejection_reason
|
||||
):
|
||||
# This condition should never be triggered.
|
||||
# The opposite of this condition is acceptable (rejected -> other status and rejection_reason)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue