Missing class imports

pull/5373/head
kevinhowbrook 2019-06-08 23:15:13 +01:00 zatwierdzone przez Matt Westcott
rodzic 13b485a2a9
commit e8c64e593d
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -624,6 +624,8 @@ Hooks for customising the way admins are directed through the process of editing
.. code-block:: python
from django.http import HttpResponse
from wagtail.core import hooks
from .models import AwesomePage
@ -852,6 +854,8 @@ Page serving
.. code-block:: python
from django.http import HttpResponse
from wagtail.core import hooks
@hooks.register('before_serve_page')