Skip to content

Commit 531a18f

Browse files
authored
Merge pull request #1 from typecode/wagtail-deprecation-warning
wagtail 3 and over deprecation warnings handling
2 parents f9d1af8 + ab9bc65 commit 531a18f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wagtail_advanced_form_builder/models/abstract_advanced_form_mixin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from django.shortcuts import render
66
from django.utils.translation import ugettext_lazy as _
77

8-
from wagtail.admin.edit_handlers import StreamFieldPanel, FieldPanel, MultiFieldPanel
8+
from wagtail.admin.edit_handlers import FieldPanel, MultiFieldPanel
99
from wagtail.core.fields import RichTextField, StreamField
1010
from wagtail.core.rich_text import RichText
1111

@@ -209,7 +209,7 @@ class AbstractAdvancedFormMixin(models.Model):
209209
)
210210

211211
content_panels = [
212-
StreamFieldPanel('form'),
212+
FieldPanel('form'),
213213
FieldPanel('submit_button_text'),
214214
MultiFieldPanel(
215215
[

0 commit comments

Comments
 (0)