mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-06 01:35:22 +02:00
Fix linting errors
This commit is contained in:
parent
f3dae0a11e
commit
4c24bd12cd
1 changed files with 2 additions and 10 deletions
|
@ -1,19 +1,11 @@
|
|||
import logging
|
||||
|
||||
from django.http import HttpResponse, Http404, JsonResponse
|
||||
from django.http import Http404, JsonResponse
|
||||
from django.shortcuts import get_object_or_404, redirect, render
|
||||
from django.urls import reverse
|
||||
from django.utils.safestring import mark_safe
|
||||
from django.contrib import messages
|
||||
|
||||
|
||||
from registrar.forms.portfolio import (
|
||||
PortfolioInvitedMemberForm,
|
||||
PortfolioMemberForm,
|
||||
PortfolioOrgAddressForm,
|
||||
PortfolioSeniorOfficialForm,
|
||||
)
|
||||
|
||||
from registrar.forms import portfolio as portfolioForms
|
||||
from registrar.models import Portfolio, User
|
||||
from registrar.models.portfolio_invitation import PortfolioInvitation
|
||||
|
@ -113,7 +105,7 @@ class PortfolioMemberDeleteView(PortfolioMemberPermission, View):
|
|||
|
||||
if active_requests_count > 0:
|
||||
# If they have any in progress requests
|
||||
error_message = mark_safe(
|
||||
error_message = mark_safe( # nosec
|
||||
f"This member has an active domain request and can't be removed from the organization. "
|
||||
f"<a href='{support_url}' target='_blank'>Contact the .gov team</a> to remove them."
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue