mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-31 09:43:54 +02:00
lint
This commit is contained in:
parent
5fd84b534d
commit
0568928f1a
3 changed files with 58 additions and 57 deletions
|
@ -614,8 +614,8 @@ class DomainApplication(TimeStampedModel):
|
|||
def reject(self):
|
||||
"""Reject an application that has been submitted.
|
||||
|
||||
As a side effect this will delete the domain and domain_information
|
||||
(will cascade), and send an email notification"""
|
||||
As side effects this will delete the domain and domain_information
|
||||
(will cascade), and send an email notification."""
|
||||
|
||||
if self.status == self.APPROVED:
|
||||
self.approved_domain.delete_request()
|
||||
|
@ -641,7 +641,7 @@ class DomainApplication(TimeStampedModel):
|
|||
any existing domains/applications and from submitting new aplications.
|
||||
We do this by setting an ineligible status on the user, which the
|
||||
permissions classes test against. This will also delete the domain
|
||||
and domain_information (will cascade)"""
|
||||
and domain_information (will cascade) when they exist."""
|
||||
|
||||
if self.status == self.APPROVED:
|
||||
self.approved_domain.delete_request()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue