Sorting and toggle visible for Django admin apps
Project description
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.
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file app_ordering-1.9.tar.gz.
File metadata
- Download URL: app_ordering-1.9.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ec3e4c7cb5faa22b042186ca6f4130d227e51834ecdd825d290e38f580a2363
|
|
| MD5 |
a28fd759c0694e520fc2133a9da399f6
|
|
| BLAKE2b-256 |
c9ded93e7fb4674ddfe9d48448b943b5bf86b6b06eb031f3007e6836dd28eedf
|
Provenance
The following attestation bundles were made for app_ordering-1.9.tar.gz:
Publisher:
publish.yml on kajalagroup/django-admin-app-ordering
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
app_ordering-1.9.tar.gz -
Subject digest:
7ec3e4c7cb5faa22b042186ca6f4130d227e51834ecdd825d290e38f580a2363 - Sigstore transparency entry: 201254032
- Sigstore integration time:
-
Permalink:
kajalagroup/django-admin-app-ordering@4c8b226272a2963d64d51405c0945f2cb99d24d1 -
Branch / Tag:
refs/tags/2025-04-23T143322 - Owner: https://github.com/kajalagroup
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4c8b226272a2963d64d51405c0945f2cb99d24d1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file app_ordering-1.9-py3-none-any.whl.
File metadata
- Download URL: app_ordering-1.9-py3-none-any.whl
- Upload date:
- Size: 15.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fc50d7ad03d912a4d43320f9b42bd27b51ee996a7a6be08ca6a9eb7483219b0
|
|
| MD5 |
c8be8e5c5636fe53693f78879f4552c3
|
|
| BLAKE2b-256 |
84cd2fc7dec5ecb731fa9d5481eabcb490e6d321574d3676abaf5672dfe062f7
|
Provenance
The following attestation bundles were made for app_ordering-1.9-py3-none-any.whl:
Publisher:
publish.yml on kajalagroup/django-admin-app-ordering
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
app_ordering-1.9-py3-none-any.whl -
Subject digest:
0fc50d7ad03d912a4d43320f9b42bd27b51ee996a7a6be08ca6a9eb7483219b0 - Sigstore transparency entry: 201254033
- Sigstore integration time:
-
Permalink:
kajalagroup/django-admin-app-ordering@4c8b226272a2963d64d51405c0945f2cb99d24d1 -
Branch / Tag:
refs/tags/2025-04-23T143322 - Owner: https://github.com/kajalagroup
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4c8b226272a2963d64d51405c0945f2cb99d24d1 -
Trigger Event:
push
-
Statement type: