Closed jeromelebleu closed 3 years ago
Thank you for this PR @jeromelebleu! I think your solution and code looks good, will do some testing before merging, will report back here once I've done that.
@marteinn You are welcome, more tests are indeed welcome before merging, thanks!
Works great, thanks again @jeromelebleu! Merging.
See https://github.com/marteinn/wagtail-factories/pull/1. This prevents multiple definitions of
ListBlockFactory
class which seems to work in all versions of factory-boy (>= 3.2 and lower).