From 42cb5bdd2b714f5784058471cf1f1cdd20af0bcf Mon Sep 17 00:00:00 2001 From: John Franey Date: Thu, 12 Feb 2015 12:22:44 -0500 Subject: [PATCH] Update form_builder.rst Update import statement to include all classes used in the example --- docs/core_components/form_builder.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/core_components/form_builder.rst b/docs/core_components/form_builder.rst index a141cc376..75a625e05 100644 --- a/docs/core_components/form_builder.rst +++ b/docs/core_components/form_builder.rst @@ -23,7 +23,11 @@ Within the models.py of one of your apps, create a model that extends wagtailfor .. code:: python - + + from modelcluster.fields import ParentalKey + from wagtail.wagtailadmin.edit_handlers import (FieldPanel, InlinePanel, + MultiFieldPanel) + from wagtail.wagtailcore.fields import RichTextField from wagtail.wagtailforms.models import AbstractEmailForm, AbstractFormField class FormField(AbstractFormField):