https://github.com/idlesign/django-admirarchy
Description
Django Admin addon to navigate through hierarchies.
Have you ever wanted Django Admin to be able to navigate through hierarchies?
Without existing models modifications? Yeah!
Admirarchy does it in an old-school way, just like Norton Commander and Co - one level at a time.
Hierarchies described as adjacency lists and nested sets are supported.
# admin.py of your application
from django.contrib import admin
from admirarchy.toolbox import HierarchicalModelAdmin
from .models import MyModel # Let's say this model represents a hierarchy.
# Inherit from HierarchicalModelAdmin instead of admin.ModelAdmin
@admin.register(MyModel)
class MyModelAdmin(HierarchicalModelAdmin):
hierarchy = True # This enables hierarchy handling.
Done. Go navigate %)
Documentation
Metadata
Release files for django-admirarchy 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-admirarchy-1.2.2.tar.gz | 16.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_admirarchy-1.2.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 30.8 kB
Release files / django-admirarchy-1.2.2.tar.gz
| Download URL | django-admirarchy-1.2.2.tar.gz |
|---|---|
| Size | 16.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c58976f56f75e6a9f90e82d08bc05e9c9cc5743517c9ad3b772ce894b7e709f2
|
|
BLAKE2b-256 checksum How to use checksums |
d8a9e212518bbd27281b9ef14c8c0d67a7634d460c91455b601d2d7e68bacbbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|
Release files / django_admirarchy-1.2.2-py2.py3-none-any.whl
| Download URL | django_admirarchy-1.2.2-py2.py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
11fcc7772be754c098e1ac8a0beddda717e146f5048fe7aa3af7b7a0143298e7
|
|
BLAKE2b-256 checksum How to use checksums |
96d964723173442b19ad2ea9bdbf753346355ea82e084f55362cf1a0cad56787
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|
Security for django-admirarchy 1.2.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.