kopia lustrzana https://github.com/wagtail/wagtail
commit
30c4affa4d
|
@ -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):
|
||||
|
|
Ładowanie…
Reference in New Issue