Hi everyone,
I’ve been building django-vantage, a Django admin panel that works out `list_display`, filters, search, ordering and `select_related` from your models, so most of them need no configuration at all.
When you do want something different, you override just that one attribute and the rest stays inferred:
from vantage import ModelPanel, register
from blog.models import Post
@register(Post)
class PostPanel(ModelPanel):
list_display = \["title", "author", "status", "published_at"\]
Running `python manage.py vantage_scaffold ` prints everything it inferred as a normal `panel.py`, so nothing is hidden.
It also includes:
- Saved views, inline editing and bulk actions across all matching rows
- Stat cards and charts declared in Python
- Kanban, calendar and map views
- Cascade-delete preview and undo
- Light and dark themes from one brand colour
It needs Python 3.12+ and Django 5.2+, and Django is its only dependency. It’s alpha (`0.2.0a1`), so I’d only use it on internal tools for now.
Docs: django-vantage - django-vantage
I’d love feedback, especially on what it infers wrong for your models. Thanks!