Skip to content

wagtailstreamforms support #370

@ayushin

Description

@ayushin

https://github.com/labd/wagtailstreamforms/ is a handy module that manages forms as a streamfield block and has an advantage of allowing multiple forms per page and flexibility to add forms anywhere.

Because of #305 it is not possible to use wagtailstreamforms in the snippets and I think a possible solution would be integrating wagtailstreamforms into coderedcms, this is what I ended up doing in my fork.

If anybody has better ideas how I could use wagtailstreamforms without touching coderedcms - I'd be thrilled to hear it!

However I think for this particular case it would be worth taking a look at this module to include it as an alternative forms solution with coderedcms, by, i.e. setting CODEREDCMS_USE_WAGTAILSTREAMFORMS=True

So, I've discovered that you don't really need the actual migration for the streamfield to work!

I'm going to try to patch the coderedcms.blocks.CONTENT_STREAMFIELD_BLOCKS on the fly and see if I can get away with using it without performing an actual migration. To be continued..

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: EnhancementNew feature or functionality change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions