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: