From 4a2b5a81251be4332ef05076eff208557a96439b Mon Sep 17 00:00:00 2001 From: Neeraj P Yetheendran Date: Thu, 27 Jun 2024 20:52:58 +0530 Subject: [PATCH] Fix unsorted import block formatting issue failing backend test in wagtail/views.py --- wagtail/views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wagtail/views.py b/wagtail/views.py index 91de656e80..f76ac9c2c3 100644 --- a/wagtail/views.py +++ b/wagtail/views.py @@ -6,11 +6,10 @@ from django.utils.http import url_has_allowed_host_and_scheme from wagtail import hooks from wagtail.forms import PasswordViewRestrictionForm -from wagtail.models import Page, PageViewRestriction, Site +from wagtail.models import Page, PageViewRestriction from wagtail.renderers import PageRendererNotFoundError, get_page_renderer_for_request - def serve(request, path): route_result = Page.route_for_request(request, path) if route_result is None: