mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 00:42:16 +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,
|
||||
Portfolio,
|
||||
Suborganization,
|
||||
SeniorOfficial,
|
||||
)
|
||||
from datetime import date, datetime, timedelta
|
||||
from django.utils import timezone
|
||||
|
|
|
@ -23,7 +23,6 @@ from registrar.models import (
|
|||
DomainInvitation,
|
||||
User,
|
||||
UserDomainRole,
|
||||
Portfolio,
|
||||
PublicContact,
|
||||
)
|
||||
from registrar.utility.enums import DefaultEmail
|
||||
|
@ -231,7 +230,7 @@ class DomainOrgNameAddressView(DomainFormBaseView):
|
|||
|
||||
# superclass has the redirect
|
||||
return super().form_valid(form)
|
||||
|
||||
|
||||
def has_permission(self):
|
||||
"""Override for the has_permission class to exclude portfolio users"""
|
||||
|
||||
|
@ -285,8 +284,7 @@ class DomainSeniorOfficialView(DomainFormBaseView):
|
|||
|
||||
# superclass has the redirect
|
||||
return super().form_valid(form)
|
||||
|
||||
|
||||
|
||||
def has_permission(self):
|
||||
"""Override for the has_permission class to exclude portfolio users"""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue