{"id":15432896,"url":"https://github.com/simonw/djp","last_synced_at":"2026-03-02T13:41:44.109Z","repository":{"id":257800481,"uuid":"861443959","full_name":"simonw/djp","owner":"simonw","description":"A plugin system for Django","archived":false,"fork":false,"pushed_at":"2024-09-28T13:58:54.000Z","size":46,"stargazers_count":116,"open_issues_count":9,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-11-19T18:29:29.461Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://djp.readthedocs.io","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/simonw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2024-09-22T22:38:11.000Z","updated_at":"2025-11-19T13:18:37.000Z","dependencies_parsed_at":"2024-10-20T20:19:17.493Z","dependency_job_id":null,"html_url":"https://github.com/simonw/djp","commit_stats":{"total_commits":44,"total_committers":1,"mean_commits":44.0,"dds":0.0,"last_synced_commit":"e89c566bdf8b85fb39ecc1a351e6dc9ab939a3d9"},"previous_names":["simonw/djp"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/simonw/djp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fdjp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fdjp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fdjp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fdjp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonw","download_url":"https://codeload.github.com/simonw/djp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fdjp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30005035,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T12:19:43.414Z","status":"ssl_error","status_checked_at":"2026-03-02T12:19:02.215Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":"2024-10-01T18:29:02.534Z","updated_at":"2026-03-02T13:41:44.093Z","avatar_url":"https://github.com/simonw.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# DJP: Django Plugins\n\n[![PyPI](https://img.shields.io/pypi/v/djp.svg)](https://pypi.org/project/djp/)\n[![Tests](https://github.com/simonw/djp/actions/workflows/test.yml/badge.svg)](https://github.com/simonw/djp/actions/workflows/test.yml)\n[![Changelog](https://img.shields.io/github/v/release/simonw/djp?include_prereleases\u0026label=changelog)](https://github.com/simonw/djp/releases)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/djp/blob/main/LICENSE)\n\nA plugin system for Django\n\nVisit **[djp.readthedocs.io](https://djp.readthedocs.io/)** for full documentation, including how to install plugins and how to write new plugins.\n\nSee [DJP: A plugin system for Django](https://simonwillison.net/2024/Sep/25/djp-a-plugin-system-for-django/) for an introduction to this project.\n\n## Installation\n\nInstall this library using `pip`:\n```bash\npip install djp\n```\n\n## Configuration\n\nAdd this to the **end** of your `settings.py` file:\n```python\nimport djp\n\n# ... existing settings.py contents\n\ndjp.settings(globals())\n```\nThen add this to your URL configuration in `urls.py`:\n```python\nurlpatterns = [\n    # ...\n] + djp.urlpatterns()\n```\n\n## Usage\n\nInstalling a plugin in the same environment as your Django application should cause that plugin to automatically add the necessary \n\n## Development\n\nTo contribute to this library, first checkout the code. Then create a new virtual environment:\n```bash\ncd djp\npython -m venv venv\nsource venv/bin/activate\n```\nNow install the dependencies and test dependencies:\n```bash\npython -m pip install -e '.[test]'\n```\nTo run the tests:\n```bash\npython -m pytest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonw%2Fdjp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonw%2Fdjp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonw%2Fdjp/lists"}