Skip to content

Releases: webdastur/dj-admin-tui

dj-admin-tui 0.0.1

02 Jun 09:43

Choose a tag to compare

Initial public release. pip install dj-admin-tui

A Textual terminal UI that drives the Django admin — browse, search, filter, sort, create, edit, delete, and run admin actions from the terminal, honoring the same permissions and audit log as the web admin.

Added

  • Terminal UI for the Django admin built on Textual: index, changelist, change/add/edit, and action-confirmation screens.
  • Zero-config operation — any project with ModelAdmins works without a tui.py, via a default TuiAdmin overlay synthesised from the ModelAdmin.
  • Full CRUD that reuses the admin's get_form → validation → save_modelsave_relatedlog_addition/log_change sequence, including foreign keys, many-to-many, and multi-line text fields.
  • Search, sort, and filtering driven by search_fields, list_filter, and Django's ordering internals.
  • Bulk admin actions and per-row actions, with confirmation.
  • Permission scoping and audit (LogEntry) matching the web admin, via a single synthetic-request choke point.
  • The manage.py admin_tui management command (--user, --app, --theme, --theme-name, --debug).
  • A bundled django theme plus a single-stylesheet design system that can be overridden with a project .tcss.
  • Public API of five names: register, TuiAdmin, tui_site, field_widgets, AdminTuiApp.
  • Documentation site (MkDocs Material) published on Read the Docs.

Supported: Python 3.12–3.14 · Django 4.2 / 5.2 / 6.0 · Textual >=8.2,<9

Links: PyPI · Docs · Changelog