django-fixture-magic
django-fixture-magic copied to clipboard
Utilities to extract and manipulate Django Fixtures.
Just a consistency issue: `dump_objects` writes to stdout, while `merge_fixtures` doesn't. I want to use the commands from functions, so capturing stdout is easy: ``` with open("my_app/fixtures/test_fixture.json", 'w+') as f:...
Django==1.8.18 Running `./manage.py dump_object declarations.section 25976`, getting error: ``` CommandError: object_class must be provided in the following format: app_name.model_name Try calling dump_object with --help argument or use the following arguments:...
Currently if you have multiple levels of dependencies, custom_dump command only goes one level deep through straight foreign keys and not reverse foreign keys. It goes from the parent to...
I'm currently making some changes to meet my requirements. I have at present hard coded things, but was thinking about building it up to be configurable/have tests etc, but if...
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...