{"id":17981602,"url":"https://github.com/meshy/django-schema-graph","last_synced_at":"2025-05-16T19:02:10.705Z","repository":{"id":38235097,"uuid":"240914556","full_name":"meshy/django-schema-graph","owner":"meshy","description":"An interactive graph of your Django model structure","archived":false,"fork":false,"pushed_at":"2023-05-14T23:14:07.000Z","size":1637,"stargazers_count":379,"open_issues_count":17,"forks_count":11,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-05-13T04:39:40.186Z","etag":null,"topics":["database-gui","database-schema","django","django-models","django-schema-graph"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/django-schema-graph/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meshy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-16T15:24:33.000Z","updated_at":"2025-04-25T17:19:59.000Z","dependencies_parsed_at":"2024-06-18T18:34:36.096Z","dependency_job_id":"366a0ea7-a816-4c93-bbfd-1a429cf2cbd7","html_url":"https://github.com/meshy/django-schema-graph","commit_stats":{"total_commits":237,"total_committers":5,"mean_commits":47.4,"dds":0.05485232067510548,"last_synced_commit":"37bf6012800d61b26d6488bc97345dc5f669c51b"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meshy%2Fdjango-schema-graph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meshy%2Fdjango-schema-graph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meshy%2Fdjango-schema-graph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meshy%2Fdjango-schema-graph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meshy","download_url":"https://codeload.github.com/meshy/django-schema-graph/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254592367,"owners_count":22097010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["database-gui","database-schema","django","django-models","django-schema-graph"],"created_at":"2024-10-29T18:11:25.442Z","updated_at":"2025-05-16T19:02:10.665Z","avatar_url":"https://github.com/meshy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django Schema Graph\n\nDjango-schema-graph makes a colourful diagram out of your Django models. The\ndiagram is interactive, and makes it easy to toggle models and apps on/off at\nwill.\n\nIt looks like this:\n\n| Feature       | Screenshot |\n| ---           | --- |\n| Models        | ![models screenshot](docs-images/models.png) |\n| Apps          | ![apps screenshot](docs-images/apps.png) |\n| Both together | ![models and apps screenshot](docs-images/combination.png) |\n| Graph editor  | ![menu screenshot](docs-images/menu.png) |\n\n(Apologies that the images above don't work on PyPI. [Check it out on\nGitHub](https://github.com/meshy/django-schema-graph/blob/master/README.md).)\n\n\n## Installation\n\nInstall from PyPI:\n\n```bash\npip install django-schema-graph\n```\n\nAdd to `INSTALLED_APPS`:\n\n```python\nINSTALLED_APPS = [\n    ...\n    'schema_graph',\n    ...\n]\n```\n\nAdd to your URLs.\n\n```python\nfrom schema_graph.views import Schema\nurlpatterns += [\n    # On Django 2+:\n    path(\"schema/\", Schema.as_view()),\n    # Or, on Django \u003c 2:\n    url(r\"^schema/$\", Schema.as_view()),\n]\n```\n\n## Use\n\nBrowse to `/schema/` (assuming that's where you put it in your URLs).\n\nYou can control access to this page using the `SCHEMA_GRAPH_VISIBLE` setting,\nor by subclassing `schema_graph.views.Schema` and overriding `access_permitted`.\nBy default the page is only visible when `DEBUG` is `True`,\nbecause we assume that you don't want to leak sensitive information about your\nwebsite outside of local development.\n\n## Support\n\nTests run on sensible combinations of:\n- Python (3.10-3.11)\n- Django (3.2-4.1)\n\nIf you're stuck on old version of Python or Django, you may consider installing\nold versions.\nThey will probably have fewer features, and there will be no support for them.\n\nThe last version to support Python 2.7 and 3.5 was 1.2.0.\nThe last version to support Python 3.6 to 3.9 was 2.2.1.\n\nThe last version to support Django 1.8 was 1.2.0.\nThe last version to support Django 1.9 to 3.1 was 2.2.1.\n\n## Alternatives\n\n- [`django-spaghetti-and-meatballs`](https://github.com/LegoStormtroopr/django-spaghetti-and-meatballs)\n  is great. At the time of writing, it offers a lot more detailed information\n  on the models in the diagram, but doesn't allow them to be turned on/off in\n  the page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeshy%2Fdjango-schema-graph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeshy%2Fdjango-schema-graph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeshy%2Fdjango-schema-graph/lists"}