wagtail / wagtail-factories

Factory boy classes for wagtail
http://wagtail-factories.readthedocs.io/en/latest/
MIT License
102 stars 40 forks source link

Compatibility fix for Wagtail 4.1 #66

Closed johncarter-phntm closed 1 year ago

johncarter-phntm commented 1 year ago

See #65

Is this a sensible approach?

If confirmed this approach is good, would also need to:

jams2 commented 1 year ago

Hi @johncarter-phntm ,

thanks for raising this!

It looks like this approach will work. It seems that we should have been returning a ListValue from ListBlockFactory already. This was changed in Wagtail in 2.16.

We shouldn't drop Wagtail 2.15 support until Feb 2023 (see the release schedule).

jams2 commented 1 year ago

@johncarter-phntm closing this in favour of https://github.com/wagtail/wagtail-factories/pull/68 - thanks for your contributions so far.