0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-28 08:48:04 +01:00

Fix unsorted import block formatting issue failing backend test in wagtail/views.py

This commit is contained in:
Neeraj P Yetheendran 2024-06-27 20:52:58 +05:30
parent 1d44b090e8
commit 4a2b5a8125

View File

@ -6,11 +6,10 @@ from django.utils.http import url_has_allowed_host_and_scheme
from wagtail import hooks from wagtail import hooks
from wagtail.forms import PasswordViewRestrictionForm 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 from wagtail.renderers import PageRendererNotFoundError, get_page_renderer_for_request
def serve(request, path): def serve(request, path):
route_result = Page.route_for_request(request, path) route_result = Page.route_for_request(request, path)
if route_result is None: if route_result is None: