{"id":16370680,"url":"https://github.com/julianwachholz/django-autocompletefilter","last_synced_at":"2025-08-30T05:05:02.909Z","repository":{"id":46807434,"uuid":"138704157","full_name":"julianwachholz/django-autocompletefilter","owner":"julianwachholz","description":"Django 2.0+ ModelAdmin list_filter with autocomplete widget.","archived":false,"fork":false,"pushed_at":"2024-09-23T11:49:26.000Z","size":19,"stargazers_count":29,"open_issues_count":4,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-23T08:04:51.262Z","etag":null,"topics":["autocomplete","django","django-admin","python"],"latest_commit_sha":null,"homepage":"https://twitter.com/julianwachholz/status/1011542175358873600","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/julianwachholz.png","metadata":{"files":{"readme":"README.rst","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":"2018-06-26T07:55:55.000Z","updated_at":"2025-08-05T14:07:00.000Z","dependencies_parsed_at":"2024-11-17T06:01:46.579Z","dependency_job_id":null,"html_url":"https://github.com/julianwachholz/django-autocompletefilter","commit_stats":{"total_commits":24,"total_committers":5,"mean_commits":4.8,"dds":"0.33333333333333337","last_synced_commit":"727914c12036bc5172aec51658f5d53890aaba2c"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/julianwachholz/django-autocompletefilter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julianwachholz%2Fdjango-autocompletefilter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julianwachholz%2Fdjango-autocompletefilter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julianwachholz%2Fdjango-autocompletefilter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julianwachholz%2Fdjango-autocompletefilter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/julianwachholz","download_url":"https://codeload.github.com/julianwachholz/django-autocompletefilter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julianwachholz%2Fdjango-autocompletefilter/sbom","scorecard":{"id":541998,"data":{"date":"2025-08-11","repo":{"name":"github.com/julianwachholz/django-autocompletefilter","commit":"727914c12036bc5172aec51658f5d53890aaba2c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":9,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yaml:16","Warn: no topLevel permission defined: .github/workflows/release.yaml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":2,"reason":"Found 7/24 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/julianwachholz/django-autocompletefilter/release.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/julianwachholz/django-autocompletefilter/release.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/julianwachholz/django-autocompletefilter/release.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/julianwachholz/django-autocompletefilter/release.yaml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/release.yaml:28","Warn: pipCommand not pinned by hash: .github/workflows/release.yaml:29","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release.yaml:9"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 0.0.9 not signed: https://api.github.com/repos/julianwachholz/django-autocompletefilter/releases/176377909","Warn: release artifact 0.0.9 does not have provenance: https://api.github.com/repos/julianwachholz/django-autocompletefilter/releases/176377909"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T08:25:15.773Z","repository_id":46807434,"created_at":"2025-08-20T08:25:15.773Z","updated_at":"2025-08-20T08:25:15.773Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272805571,"owners_count":24995916,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["autocomplete","django","django-admin","python"],"created_at":"2024-10-11T03:05:42.379Z","updated_at":"2025-08-30T05:05:02.889Z","avatar_url":"https://github.com/julianwachholz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"django-autocompletefilter\n=========================\n\nA django application that lets you use the built in autocomplete function of the\ndjango admin to filter in admin list views by foreign key relations.\n\n.. image:: https://pbs.twimg.com/media/DgmzYLbW4AA9oL3.jpg:large\n\nUsage\n-----\n\n#. Install the package, for example from PyPi::\n\n    pip install django-autocompletefilter\n\n#. Add ``autocompletefilter`` to your ``INSTALLED_APPS`` setting.\n\n#. Create and register a model admin for the model you want to filter by.\n   Ensure it has ``search_fields`` specified for autocomplete to work.\n\n#. In your second model admin, use the ``AutocompleteFilterMixin`` on your class and\n   add the desired foreign key attribute to filter by to the ``list_filter``\n   items by using the AutocompleteListFilter class::\n\n    from autocompletefilter.admin import AutocompleteFilterMixin\n    from autocompletefilter.filters import AutocompleteListFilter\n\n    class FooAdmin(AutocompleteFilterMixin, admin.ModelAdmin):\n        list_filter = (\n            ('bar', AutocompleteListFilter),\n        )\n\n\nStatus of this project\n----------------------\n\nThis project is currently using a rather hacky way to implement this.\nCaution is advised when using it.\n\nUsing multiple autocomplete filters on the same page does work.\n\nCurrently only tested on Python 3.6\n\n\nContributing\n------------\n\nAll suggestions are welcome. Especially about ways to make this cleaner.\n\n\nCommon issues\n-------------\n\n- **Reverse for '\u003capp_name\u003e_\u003cmodel_name\u003e_autocomplete' not found.**\n\n  You must register a model admin with ``search_fields`` for the model you want to look up.\n\n- **The results could not be loaded.**\n\n  You likely forgot to specify ``search_fields`` on your model admin for the model you want to look up.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulianwachholz%2Fdjango-autocompletefilter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulianwachholz%2Fdjango-autocompletefilter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulianwachholz%2Fdjango-autocompletefilter/lists"}