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:
parent
1d44b090e8
commit
4a2b5a8125
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user