Skip to content

Conversation

@paulogiacomelli
Copy link

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
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