{"id":30818081,"url":"https://github.com/feincms/django-admin-ordering","last_synced_at":"2025-12-13T16:45:38.880Z","repository":{"id":46829033,"uuid":"55763903","full_name":"feincms/django-admin-ordering","owner":"feincms","description":"Drag-drop orderable change lists and inlines done right.","archived":false,"fork":false,"pushed_at":"2025-10-20T21:27:36.000Z","size":242,"stargazers_count":68,"open_issues_count":2,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-26T10:39:55.662Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/feincms.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":"CONTRIBUTING.rst","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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-04-08T08:39:22.000Z","updated_at":"2025-10-17T16:57:08.000Z","dependencies_parsed_at":"2024-01-22T18:08:09.958Z","dependency_job_id":"d7aa8b75-a565-443e-817e-5a1fdc746806","html_url":"https://github.com/feincms/django-admin-ordering","commit_stats":{"total_commits":162,"total_committers":7,"mean_commits":"23.142857142857142","dds":0.07407407407407407,"last_synced_commit":"a001c448f71c6ae2d29bc0c0cb8f95884a2d60a1"},"previous_names":["feincms/django-admin-ordering","matthiask/django-admin-ordering"],"tags_count":38,"template":false,"template_full_name":null,"purl":"pkg:github/feincms/django-admin-ordering","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feincms%2Fdjango-admin-ordering","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feincms%2Fdjango-admin-ordering/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feincms%2Fdjango-admin-ordering/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feincms%2Fdjango-admin-ordering/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feincms","download_url":"https://codeload.github.com/feincms/django-admin-ordering/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feincms%2Fdjango-admin-ordering/sbom","scorecard":{"id":627021,"data":{"date":"2025-08-11","repo":{"name":"github.com/matthiask/django-admin-ordering","commit":"8047a8e3b9a0ff02dc53a3c5490ca3a68d936456"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"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":"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":"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":"Code-Review","score":0,"reason":"Found 1/25 approved changesets -- score normalized to 0","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/tests.yml:1","Info: no jobLevel write permissions found"],"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":"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/tests.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/matthiask/django-admin-ordering/tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/matthiask/django-admin-ordering/tests.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:30","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" 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":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 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-21T06:46:30.410Z","repository_id":46829033,"created_at":"2025-08-21T06:46:30.410Z","updated_at":"2025-08-21T06:46:30.410Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281257986,"owners_count":26470275,"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-10-27T02:00:05.855Z","response_time":61,"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":[],"created_at":"2025-09-06T09:02:51.926Z","updated_at":"2025-10-27T13:15:30.058Z","avatar_url":"https://github.com/feincms.png","language":"Python","readme":"==============================================================================\ndjango-admin-ordering -- Orderable change lists and inlines done right^Wsimple\n==============================================================================\n\n.. image:: https://github.com/matthiask/django-admin-ordering/actions/workflows/tests.yml/badge.svg\n    :target: https://github.com/matthiask/django-admin-ordering/\n    :alt: CI Status\n\nPlease refer to the CI build linked above for the currently supported\ncombinations of Python and Django.\n\n\nInstallation\n============\n\n``pip install django-admin-ordering``, and add ``admin_ordering`` to\n``INSTALLED_APPS``.\n\n\nUsage\n=====\n\nFirst, you need a model ordered by an integer field. If you are happy\nwith a model where 1. the ordering field is called ``ordering`` and 2.\nthe ordering field is automatically initialized so that new objects are\nordered last you can also inherit the abstract\n``admin_ordering.models.OrderableModel`` model. If you define your own ``class\nMeta`` you should inherit ``OrderableModel.Meta`` so that the ``ordering``\nattribute is set to the correct value:\n\n.. code-block:: python\n\n    from admin_ordering.models import OrderableModel\n\n    class MyModel(OrderableModel):\n        # ...\n\n        class Meta(OrderableModel.Meta):\n            # ...\n\n\nOrderable change lists\n~~~~~~~~~~~~~~~~~~~~~~\n\n.. code-block:: python\n\n    from admin_ordering.admin import OrderableAdmin\n\n    @admin.register(MyModel)\n    class MyModelAdmin(OrderableAdmin, admin.ModelAdmin):\n        # The field used for ordering. Prepend a minus for reverse\n        # ordering: \"-ordering\"\n        # Doesn't have to be provided as long as you're using the default.\n        # ordering_field = \"ordering\"\n\n        # You may optionally hide the ordering field in the changelist:\n        # ordering_field_hide_input = False\n\n        # You may optionally add up/down arrows to reorder by click instead of dragging:\n        # ordering_field_up_down_arrows = True\n\n        # The ordering field can optionally be automatically renumbered when\n        # the page loads. This may be useful if you have existing data which\n        # isn't ordered yet.\n        # ordering_field_renumber_on_load = False\n\n        # The ordering field must be included both in list_display and\n        # list_editable:\n        list_display = [\"name\", \"ordering\"]\n        list_editable = [\"ordering\"]\n\n\nOrderable inlines\n~~~~~~~~~~~~~~~~~\n\n.. code-block:: python\n\n    from admin_ordering.admin import OrderableAdmin\n\n    class MyModelTabularInline(OrderableAdmin, admin.TabularInline):\n        model = MyModel\n\n        # Same as above; \"-ordering\" is also allowed here:\n        # ordering_field = \"ordering\"\n        # ordering_field_hide_input = False\n        # ordering_field_up_down_arrows = False\n        # ordering_field_renumber_on_load = False\n\n``OrderableAdmin`` comes with a default of ``extra = 0`` (no extra\nempty inlines shown by default). It is strongly recommended to leave the\nchanged default as-is, because otherwise you'll end up with invalid\ninlines just because you wanted to change the ordering.\n\n\nLimitations\n===========\n\n- ``OrderableAdmin`` can be used both for inlines and parents, but this\n  also means that you cannot register a model directly with\n  ``OrderableAdmin``.\n- Using django-admin-ordering with filtered or paginated lists may\n  produce unexpected results. The recommendation right now is to set\n  `list_per_page` to a bigger value and not reordering filtered\n  changelists.\n- Note that django-admin-ordering assigns ordering values in increments\n  of 10, emphasizing that the ordering value should not have any\n  significance apart from giving relative ordering to elements.\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeincms%2Fdjango-admin-ordering","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeincms%2Fdjango-admin-ordering","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeincms%2Fdjango-admin-ordering/lists"}