You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wagtail support
HI All,
I tried to upgrade wagtail version to 4.1 for my old code.
Unfortunately I got these errors.
I had used BaseFormEditHandler class but I can not find out in version 4.1
Cannot find reference 'BaseFormEditHandler' in 'edit_handlers.py'
Can somebody help me ?
Thank and Regard
Matthew Westcott
unread,
Nov 15, 2023, 9:56:36 AM11/15/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wag...@googlegroups.com
Hi,
Edit handlers were completely rewritten in Wagtail 3.0 - see https://docs.wagtail.org/en/stable/releases/3.0.html#api-changes-to-panels-edithandlers. The changes you need to make will depend on exactly what customisations you made originally - it's hard to give any specific advice, as BaseFormEditHandler was an internal class that wasn't intended to be used directly in end-user code.
Cheers,
- Matt
thiman samarasinghe
unread,
Nov 15, 2023, 11:06:13 AM11/15/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wag...@googlegroups.com
If you're only using BaseFormEditHandler as a type annotation, you can probably replace that with Panel (from wagtail.admin.panels import Panel) since all things that previously inherited from BaseFormEditHandler are panels.