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
Add management command to generate sample content #81
Once everything is up and running, currently we only have a blank wagtail application. Would it be possible to get a sample dump of the actual database?
If size is an issue, you could use some service like Dropbox, Google Drive or Mega to send it.
I’ve opened a PR that adds a management command to generate sample content using FactoryBoy, as discussed above.
It includes factories for the core models and a generate_sample_content command to populate the database with realistic data for local development and testing.
Would appreciate a review when you have time, happy to adjust anything if needed.
Activity
matrixise commentedon Nov 21, 2025
Instead of providing a database dump, we could use FactoryBoy to generate sample data.
Benefits:
Implementation idea:
factory-boyto dev dependenciesgenerate_sample_datato populate the databaseIf someone wants to pick this up and create a branch, that would be really cool!
[-]Sample data for content[/-][+]Add management command to generate sample content[/+]iShelar commentedon Dec 11, 2025
@matrixise @ArcaneIRE Is anyone already working on this or is it still unimplemented?
If it's still open, I’m happy to take it on.
AllynH commentedon Dec 11, 2025
I don't think anyone is working on this at the moment.
Please feel free to jump in @iShelar
iShelar commentedon Dec 11, 2025
Great, thanks @AllynH I’ll take it and open a PR soon.
🎨 feat: add management command to generate sample content
iShelar commentedon Dec 18, 2025
Hi @AllynH @ArcaneIRE
I’ve opened a PR that adds a management command to generate sample content using FactoryBoy, as discussed above.
It includes factories for the core models and a
generate_sample_contentcommand to populate the database with realistic data for local development and testing.Would appreciate a review when you have time, happy to adjust anything if needed.
🎨 feat: add management command to generate sample content (#169)