activist icon indicating copy to clipboard operation
activist copied to clipboard

Fixtures / Factories

Open to-sta opened this issue 1 year 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

Unblocked as #933 is now merged :)

andrewtavis avatar Jul 31 '24 21:07 andrewtavis

@to-sta, maybe we can do this next so we can get back to a bit of what we had when we just had the integer routes and people could directly see the org pages, etc?

andrewtavis avatar Aug 01 '24 16:08 andrewtavis

Closed by #947 🚀🚀🚀🚀🚀🚀🚀

andrewtavis avatar Sep 07 '24 18:09 andrewtavis