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
Is your feature request related to a problem? Please describe. utils and dev_populate.sh are useful, but they could be improved by using Factoryboy, a tool to generate python objects related to an ORM, and it works fine with Django.
Describe the solution you'd like
A file named factories.py located in petition app containing all models factories, and could be imported in tests to create test data, and used by django command, cli_pytition or whatever.
Fields values can be random, or following sequences, but can be overrided on initialization with more personal values.
Describe alternatives you've considered
Well it is just a nice to have, just a proposition.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
utils
anddev_populate.sh
are useful, but they could be improved by using Factoryboy, a tool to generate python objects related to an ORM, and it works fine with Django.Describe the solution you'd like
A file named
factories.py
located inpetition
app containing all models factories, and could be imported in tests to create test data, and used by django command, cli_pytition or whatever.Fields values can be random, or following sequences, but can be overrided on initialization with more personal values.
Describe alternatives you've considered
Well it is just a nice to have, just a proposition.
The text was updated successfully, but these errors were encountered: