mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-03 01:33:32 +02:00
formatted for linter
This commit is contained in:
parent
73b0b33ee8
commit
946baf05e9
3 changed files with 6 additions and 4 deletions
|
@ -33,7 +33,7 @@ class RegistrarForm(forms.Form):
|
|||
# save a reference to an application object
|
||||
self.application = kwargs.pop("application", None)
|
||||
super(RegistrarForm, self).__init__(*args, **kwargs)
|
||||
|
||||
|
||||
def to_database(self, obj: DomainApplication | Contact):
|
||||
"""
|
||||
Adds this form's cleaned data to `obj` and saves `obj`.
|
||||
|
@ -329,7 +329,7 @@ class AboutYourOrganizationForm(RegistrarForm):
|
|||
|
||||
class AuthorizingOfficialForm(RegistrarForm):
|
||||
JOIN = "authorizing_official"
|
||||
|
||||
|
||||
def to_database(self, obj):
|
||||
if not self.is_valid():
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue