Django Admin addon to navigate through hierarchies
Project description
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 .models import MyModel # Let's say this model represents a hierarchy.
from admirarchy.toolbox import HierarchicalModelAdmin
# Inherit from HierarchicalModelAdmin instead of admin.ModelAdmin
class MyModelAdmin(HierarchicalModelAdmin):
hierarchy = True # This enables hierarchy handling.
admin.site.register(MyModel, MyModelAdmin)
Done. Go navigate %)
Documentation
Project details
Release history Release notifications | RSS feed
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 django-admirarchy-0.2.3.tar.gz.
File metadata
- Download URL: django-admirarchy-0.2.3.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6a774afef3f4b17f4ea435d1d7c3b01cfb11cfe0856eeb481fdbde458a95bd1
|
|
| MD5 |
2d0716b9446e6a98171a71ef753f2cfa
|
|
| BLAKE2b-256 |
14ebb0f76ed60b3a5e352da51b0366d113f3e95816e4125c6680e0ac003c21ed
|
File details
Details for the file django_admirarchy-0.2.3-py2.py3-none-any.whl.
File metadata
- Download URL: django_admirarchy-0.2.3-py2.py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58649a9fdb5f7c677cbf0174b7fb6c59c730800d36d727a924b3312678016c63
|
|
| MD5 |
d70145df251ebe10bfc02b7f0091ac9c
|
|
| BLAKE2b-256 |
6f641b0bd1ad2c53dd63c73614e107e3492509ae50af4441f524f467eda8823f
|