You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve sample data generation with Task command and wagtail-factories #186
Following up on the work done in #169 by @iShelar, we could enhance the sample data generation with the following improvements:
Suggestions
Add a Task command for generating sample data (e.g., task django:generate-sample-data) to make it easier to use and consistent with our other task commands
Use wagtail-factories instead of plain factory-boy, as it provides specialized factories for Wagtail models that handle the page tree structure and Wagtail-specific fields better
Context
PR #169 already added a great foundation with a generate_sample_data management command using factory-boy. These enhancements would make it even more maintainable and easier for new contributors to use.
cc @iShelar - if you'd like to work on this, I would be really happy! 😊
Just checking in to see how things are going with this enhancement. No rush at all - just wanted to see if you're still interested in working on this or if you've encountered any questions or blockers.
If you need any help or if circumstances have changed and you'd prefer to pass this on, just let us know! Either way, we really appreciate your contributions to the project. 😊
Activity
iShelar commentedon Jan 2, 2026
Hi @matrixise Thanks for the suggestions.
Happy to take this on 👍
I’ll add a task
django:generate-sample-datacommand and switch the factories to wagtail-factories.I’ll share a PR once it’s ready.
matrixise commentedon Jan 23, 2026
Hi @iShelar! 👋
Just checking in to see how things are going with this enhancement. No rush at all - just wanted to see if you're still interested in working on this or if you've encountered any questions or blockers.
If you need any help or if circumstances have changed and you'd prefer to pass this on, just let us know! Either way, we really appreciate your contributions to the project. 😊
iShelar commentedon Jan 23, 2026
Hi @matrixise, thanks for the follow-up.
sorry for the delay, the changes were done earlier, but I hadn’t completed testing. I’ve now tested everything and pushed the PR.
please let me know if you’d like any changes or refinements.
#192
matrixise commentedon Feb 3, 2026
This has been resolved by PR #192 which added the Task command for sample data generation with wagtail-factories.