mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-12 20:49:41 +02:00
Linting
This commit is contained in:
parent
bf64eb2114
commit
324a1a29c5
2 changed files with 2 additions and 5 deletions
|
@ -36,7 +36,6 @@ from registrar.models import (
|
||||||
FederalAgency,
|
FederalAgency,
|
||||||
Portfolio,
|
Portfolio,
|
||||||
Suborganization,
|
Suborganization,
|
||||||
SeniorOfficial,
|
|
||||||
)
|
)
|
||||||
from datetime import date, datetime, timedelta
|
from datetime import date, datetime, timedelta
|
||||||
from django.utils import timezone
|
from django.utils import timezone
|
||||||
|
|
|
@ -23,7 +23,6 @@ from registrar.models import (
|
||||||
DomainInvitation,
|
DomainInvitation,
|
||||||
User,
|
User,
|
||||||
UserDomainRole,
|
UserDomainRole,
|
||||||
Portfolio,
|
|
||||||
PublicContact,
|
PublicContact,
|
||||||
)
|
)
|
||||||
from registrar.utility.enums import DefaultEmail
|
from registrar.utility.enums import DefaultEmail
|
||||||
|
@ -231,7 +230,7 @@ class DomainOrgNameAddressView(DomainFormBaseView):
|
||||||
|
|
||||||
# superclass has the redirect
|
# superclass has the redirect
|
||||||
return super().form_valid(form)
|
return super().form_valid(form)
|
||||||
|
|
||||||
def has_permission(self):
|
def has_permission(self):
|
||||||
"""Override for the has_permission class to exclude portfolio users"""
|
"""Override for the has_permission class to exclude portfolio users"""
|
||||||
|
|
||||||
|
@ -285,8 +284,7 @@ class DomainSeniorOfficialView(DomainFormBaseView):
|
||||||
|
|
||||||
# superclass has the redirect
|
# superclass has the redirect
|
||||||
return super().form_valid(form)
|
return super().form_valid(form)
|
||||||
|
|
||||||
|
|
||||||
def has_permission(self):
|
def has_permission(self):
|
||||||
"""Override for the has_permission class to exclude portfolio users"""
|
"""Override for the has_permission class to exclude portfolio users"""
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue