django-fixture-magic icon indicating copy to clipboard operation
django-fixture-magic copied to clipboard

Add exclude model option to dump_object

Open paulogiacomelli opened this issue 5 months ago • 1 comments

Adding a --exclude-models similar to exclude-fields. This allows on our use case to exclude some models that we know it should not be included in the dump_object fixture.

There wasn't a contribute guide, but I tried following the code base flow and included a test.

Example Usage:

./manage.py dump_object app_name.model_name 1 --kitchensink --exclude-models app_name.model_name1 app_name.model2

paulogiacomelli avatar Sep 03 '24 19:09 paulogiacomelli