{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/20"}],"enrichment":{"capability":"Provides Django management commands to dump database objects with their foreign-key dependencies into JSON fixtures, merge multiple fixtures, and reorder fixtures to resolve foreign-key load errors.","skillfed_tags":["django-fixtures","test-data","legacy"],"use_cases":["Generate test fixtures from database snapshots while automatically including all related objects via foreign keys.","Combine multiple partial fixture files into a single deduplicated fixture for test setup.","Reorder fixture objects to load in dependency order, avoiding foreign-key constraint violations during test initialization.","Export complex multi-model object graphs via a single custom_dump command configured with dependents and ordering rules.","Automate fixture generation in test pipelines to keep test data synchronized with schema changes."],"what_it_does":"django-fixture-magic extends Django's management commands with tools for exporting database state as JSON fixtures. It addresses the common problem of generating test data that respects foreign-key relationships: when you dump a Book object, it automatically includes its related Author, preventing foreign-key errors when loading fixtures into a fresh database. The package provides four commands: dump_object (export objects and their dependencies), merge_fixtures (deduplicate across multiple fixture files), reorder_fixtures (reorder models to satisfy load order), and custom_dump (export complex multi-dependent object graphs via configuration).\n\nThe package has no runtime dependencies and installs as a pure Python wheel. However, it is dormant\u2014the latest release dates to 2020-07-15 and targets Django 1.8\u20132.1 and Python 2.7/3.6. Users on modern versions should verify compatibility before adopting.","worth_installing":"No, unless you are maintaining a legacy Django 1.8\u20132.1 project on Python 2.7 or 3.6. The package is dormant and compatibility with modern Django and Python versions is unverified. For current projects, consider modern alternatives or Django's built-in dumpdata/loaddata with custom logic."},"id":"django-fixture-magic","links":{"html":"https://skillfed.io/packages/django-fixture-magic","md":"https://skillfed.io/packages/django-fixture-magic.md","pypi":"https://pypi.org/project/django-fixture-magic/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2020-07-15","license_spdx":null,"license_treatment":"permissive","name":"django-fixture-magic","python_support":"unspecified","summary":"A few extra management tools to handle fixtures."},"popularity":{"monthly_downloads":96577,"position":13206,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.5"}
