activist icon indicating copy to clipboard operation
activist copied to clipboard

Fixtures / Factories

Open to-sta opened this issue 6 months ago • 2 comments

Terms

Description

We use factory_boy to create fixtures and test data. I've set up a custom management command to create random users: python manage.py populate_db --users=100.

Our plan is to extend this command to include organizations, events, and more.

TODOs:

Add organizations Add events ... As we add new data types, we should also validate and improve the corresponding factories.

You can find the factories in the ../factories.py files, which should accurately reflect the database models.

Note: This issue is dependent on PR #933.

Contribution

I am happy to help :smile

to-sta avatar Jul 28 '24 09:07 to-sta