devscope.io

Define ListBlockFactory only once for factory-boy 3.2 support

wagtail/wagtail-factories

Issue

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).

2021-05-14 08:57:44


Add a Comment


Top 3 Comments

  marteinn answered on 2021-05-14 12:07:34

Works great, thanks again @jeromelebleu! Merging.

0 positive reactions.
  jeromelebleu answered on 2021-05-14 09:38:15

@marteinn You are welcome, more tests are indeed welcome before merging, thanks!

0 positive reactions.
  marteinn answered on 2021-05-14 09:02:29

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.

0 positive reactions.

Quick Hint

Where do wagtails birds live?

Where do wagtails nest? The pied wagtail likes farms, gardens, tundra, open country and inhabited areas, being as resourceful as they need to be. They can set up home right alongside people: under roofs, in walls and even in ivy hanging from houses. In winter, they are found more often on farmland.Jan 18, 2021

Repo Information


Age 5yrs
Vendor wagtail
Repo Name wagtail-factories
Primary Language Python
Default Branch main
Last Update 4 months ago

Wagtail's Code Library

Similar Issues

πŸ’Ύ wagtail Add ActivityPub support πŸ’¬ 5 closed πŸ—“οΈ 5 days ago
πŸ’Ύ wagtail Page jumps to top on "save draft" πŸ’¬ 3 open πŸ—“οΈ 1 week ago
πŸ’Ύ wagtail Eslint cleanup no plusplus rule πŸ’¬ 5 closed πŸ—“οΈ 1 week ago
πŸ’Ύ wagtail.org Performance: Enable text compression πŸ’¬ 3 closed πŸ—“οΈ 2 weeks ago
πŸ’Ύ wagtail.org Performance: serve images in next-gen formats πŸ’¬ 4 closed πŸ—“οΈ 2 weeks ago
πŸ’Ύ wagtail Local setup Error for Safari Browser πŸ’¬ 3 open πŸ—“οΈ 2 weeks ago
πŸ’Ύ wagtail Clean up eslint usage `no-prototype-builtins` πŸ’¬ 7 closed πŸ—“οΈ 3 weeks ago