Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Meet django-vantage: A Django Admin That Configures Itself

Описание и применение

django-vantage — Django админ-панель, которая сама настраивается из модели. Не требует ручной конфигурации для каждого моделя: выводится список, фильтры, поиск, сортировка и форма. Настройки можно менять из интерфейса безdeploy.

Задача

Django projects spend time manually configuring admin.py for each model with list_display, list_filter, search_fields, ordering, and list_select_related. This is repetitive and tedious.

Результат

django-vantage provides a Django admin that infers columns, filters, search, ordering, form widgets, and query optimization from model fields automatically, requiring zero per-model configuration. Settings can also be changed from the UI without a deploy.

Рабочий процесс

  • Install django-vantage with pip install --pre django-vantage
  • Add 'vantage' to INSTALLED_APPS after Django contrib apps
  • Mount Vantage's site URLs in urls.py at '/admin/'
  • Run python manage.py migrate
  • Use vantage_scaffold to inspect or write inferred panel.py for a model

Доказательства

If you've built a few Django projects, you know the routine. You add a model, open admin.py, and type the same things again: list_display, list_filter, search_fields, ordering, list_select_related.

Источник

Every model works with zero configuration. When you want something different, you override only that one thing and Vantage keeps inferring the rest.

Источник

pip install --pre django-vantage

Источник

python manage.py vantage_scaffold shop # print what was inferred

Источник

Columns, filters, search, charts, Kanban boards, dark mode and a JSON API, without writing an admin.py.

Источник

  • Дата записи: 2026-10-26T15:11:36.764Z