Skip to content

Add exclude model option to dump_object#92

Open
paulogiacomelli wants to merge 1 commit into
davedash:masterfrom
surefyresystems:add_exclude_model
Open

Add exclude model option to dump_object#92
paulogiacomelli wants to merge 1 commit into
davedash:masterfrom
surefyresystems:add_exclude_model

Conversation

@paulogiacomelli

Copy link
Copy Markdown

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

Copy link
Copy Markdown
Author

@davedash Anyway to get this merged to main? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant