{"id":47875307,"url":"https://github.com/callowayproject/django-objectdump","last_synced_at":"2026-04-04T01:11:53.214Z","repository":{"id":9808078,"uuid":"11788890","full_name":"callowayproject/django-objectdump","owner":"callowayproject","description":"Export one or more objects and their related objects. Allows for fine-tuned control over which related objects are exported.","archived":false,"fork":false,"pushed_at":"2020-11-23T02:36:22.000Z","size":348,"stargazers_count":8,"open_issues_count":2,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-10-27T09:59:57.644Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/callowayproject.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-31T10:56:19.000Z","updated_at":"2020-11-19T21:31:49.000Z","dependencies_parsed_at":"2022-09-05T05:40:39.997Z","dependency_job_id":null,"html_url":"https://github.com/callowayproject/django-objectdump","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/callowayproject/django-objectdump","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callowayproject%2Fdjango-objectdump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callowayproject%2Fdjango-objectdump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callowayproject%2Fdjango-objectdump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callowayproject%2Fdjango-objectdump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/callowayproject","download_url":"https://codeload.github.com/callowayproject/django-objectdump/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callowayproject%2Fdjango-objectdump/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31383782,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T23:20:52.058Z","status":"ssl_error","status_checked_at":"2026-04-03T23:20:51.675Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-04T01:11:52.723Z","updated_at":"2026-04-04T01:11:53.204Z","avatar_url":"https://github.com/callowayproject.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"==================\nDjango Object Dump\n==================\n\nInstallation\n============\n\n#. Installation is easy using ``pip``\\ .\n\n   .. code-block:: bash\n\n      $ pip install django-objectdump\n\n#. Add to ``INSTALLED_APPS``\n\n#. Optionally add configuration information (``OBJECTDUMP_SETTINGS``\\ )\n\n\nSettings\n========\n\n.. code-block:: python\n\n   OBJECTDUMP_SETTINGS = {\n       'MODEL_SETTINGS': {\n           'app.model': {\n               'ignore': False,\n               'fk_fields': True,  # or False, or ['whitelist', 'of', 'fks']\n               'm2m_fields': True,  # or False, or ['whitelist', 'of', 'm2m fields']\n               'addl_relations': []  # callable or 'othermodel_set.all' strings\n           }\n       }\n   }\n\n\n``ignore``\n    If ``True``\\ , always ignore this model. Acts as if you used ``--exclude`` with this model.\n\n``fk_fields``\n    If ``False``\\ , do not include related objects through foreign keys. Otherwise, a white-list of foreign keys to include related objects.\n\n``m2m_keys``\n    If ``False``\\ , do not include related objects through many-to-many fields. Otherwise, a white-list of many-to-many field names to include related objects.\n\n``addl_relations``\n    A list of callables, which get passed an object, or strings in Django template syntax (``'author_set.all.0'`` becomes ``'object.author_set.all.0'`` and evaluates to ``object.author_set.all()[0]``\\ )\n\nOptions\n=======\n\n``--format``\n    **Default:** ``json``\n\n    Specifies the output serialization format for fixtures. Options depend on ``SERIALIZATION_MODULES`` settings. ``xml`` and ``json`` and ``yaml`` are built-in.\n\n``--indent``\n    **Default:** ``None``\n\n    Specifies the indent level to use. The default will not do any pretty-printing or indenting of content.\n\n``--database``\n    **Default:** ``DEFAULT_DB_ALIAS``\n\n    Nominates a specific database to dump fixtures from. Defaults to the \"default\" database.\n\n``-e``\\ , ``--exclude``\n    **Default:** ``[]``\n\n    An appname or appname.ModelName to exclude (use multiple ``--exclude`` to exclude multiple apps/models).\n\n``-n``\\ , ``--natural``\n    **Default:** ``False``\n\n    Use natural keys if they are available.\n\n``--depth``\n    **Default:** ``None``\n\n    Max depth related objects to get. The initial object specified is considered level 0. The default will get all objects.\n\n``--limit``\n    **Default:** ``None``\n\n    Max number of related objects to get. Default gets all related objects.\n\n``-i``\\ , ``--include``\n    **Default:** all\n\n    An appname or appname.ModelName to whitelist related objects included in the export (use multiple ``--include`` to include multiple apps/models).\n\n``--idtype``\n    **Default:** ``'int'``\n\n    The natural type of the id(s) specified. Options are: ``int``, ``unicode``, ``long``\n\n``--debug``\n    **Default:** ``False``\n\n    Output debug information. Shows what related objects each object generates. Use with ``--verbosity 2`` to also see which fields are the link.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcallowayproject%2Fdjango-objectdump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcallowayproject%2Fdjango-objectdump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcallowayproject%2Fdjango-objectdump/lists"}