Skip to main content

Django admin app ordering

Django admin app ordering is a Django app to able ordering apps and models in the Django admin site, it also support to toggle visiblity app or model.

Summary this are features:

  • Sorting admin app, models.
  • Toggle visibility admin app, models.
  • Configure sorting/visibility app(model) for certain users or groups.

screenshot

Install

pip install app_ordering

Add "app_ordering" and "adminsortable2" to app list:

INSTALLED_APPS = [
    ....
    "app_ordering",
    "adminsortable2"
]

adminsortable2 is third party to help you to manipulate sorting easier.

Add get_package_template_dir("app_ordering") to TEMPLATES.DIR Remember to import get_package_template_dir in the settings.py

from app_ordering.helpers import get_package_template_dir
TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        "DIRS": [
            get_package_template_dir("app_ordering"),
        ],
        ...
    },
]

Profile:

  • Default profile will be used as default if you don't set any specific profile for logged in user.

Extend template:

If you want to custom app_list.html, better you should take a look at app_ordering/templates/admin/app_list.html and custom based on that

Metadata

Release files for app-ordering 1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for app-ordering 1.9
File Size Uploaded Provenance
app_ordering-1.9.tar.gz 11.4 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for app-ordering 1.9
File Interpreter ABI Platform
app_ordering-1.9-py3-none-any.whl Python 3 none any Details

Total release size: 27.0 kB

Release files / app_ordering-1.9.tar.gz

Download URL app_ordering-1.9.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7ec3e4c7cb5faa22b042186ca6f4130d227e51834ecdd825d290e38f580a2363
BLAKE2b-256 checksum
How to use checksums
c9ded93e7fb4674ddfe9d48448b943b5bf86b6b06eb031f3007e6836dd28eedf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 23, 2025.

Transparency log

Release files / app_ordering-1.9-py3-none-any.whl

Download URL app_ordering-1.9-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0fc50d7ad03d912a4d43320f9b42bd27b51ee996a7a6be08ca6a9eb7483219b0
BLAKE2b-256 checksum
How to use checksums
84cd2fc7dec5ecb731fa9d5481eabcb490e6d321574d3676abaf5672dfe062f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 23, 2025.

Transparency log

Security for app-ordering 1.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for app_ordering-1.9.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 23, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page