Add missing import to example code snippet (#6638)

Adding this makes the code snippet ready to use via copy and paste.
pull/6701/head
Matthias Rohmer 2020-12-14 14:57:20 +01:00 zatwierdzone przez Matt Westcott
rodzic 758fa2b863
commit 9a1fc6d243
2 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -491,6 +491,7 @@ Contributors
* Vadim Karpenko
* Bohreromir
* Fernando Cordeiro
* Matthias Rohmer
Translators
===========

Wyświetl plik

@ -28,6 +28,7 @@ Within the ``models.py`` of one of your apps, create a model that extends ``wagt
.. code-block:: python
from django.db import models
from modelcluster.fields import ParentalKey
from wagtail.admin.edit_handlers import (
FieldPanel, FieldRowPanel,