otto-torino /django-baton

A cool, modern and responsive django admin application based on bootstrap 5 that brings AI to the Django admin - https://baton.sqrt64.it/

★ 997⑂ 98👁 13⑃ 190● 196▤ 64
PythonMITCreated 2017-02-10
Download: Release 5.1.2Release-5.1.2 ↓5.1.22026-02-22
+0
Daily
997
stars
98
forks
13
watchers
190
prs
196
issues
64
releases

README

Django Baton







A cool, modern, responsive, and AI-enhanced Django admin interface, built on Bootstrap 5 and Material Symbols.

📖 Documentation     |     🚀 Live Demo     |     Report Bug     |     Request Feature

---

Django Baton transforms the standard Django admin into a powerful, intuitive, and visually appealing interface. Built with Bootstrap 5 and Google Material Symbols, it offers full responsiveness and integrates cutting-edge AI functionalities directly into your admin panel.

✨ Try the Live Demo! ✨

Experience the features of Django Baton firsthand. Login with user demo and password demo.
https://django-baton.sqrt64.it/

---

 📣 What's New?

 Baton 5.x: Features a complete visual redesign and migrates from FontAwesome to Google Material Symbols for a sleek, modern icon set, see the migration guide.
 Baton 4.2.1: Integrates computer vision capabilities within the BatonAiImageField, includes various minor styling improvements, and incorporates several community pull requests.
 Baton 4.2.0: Introduced computer vision for automatic generation of alt attributes for images.
 Baton 4.0.\: Unleashed a suite of powerful AI functionalities!
   Automatic translations (integrates with django-modeltranslation).
   Text summarization for content creation.
   Text corrections for improved writing.
   Image generation using GPT Image.
   This version also introduced robust theme support, making customization easier than ever. Most theme changes no longer require recompiling the JavaScript application.

 🎨 Explore Themes!
 Discover ready-to-use themes and get inspiration from the django-baton-themes repository:
 github.com/otto-torino/django-baton-themes

---

!Django Baton AI Features Showcase
An example of Baton's AI capabilities in action.

 📋 Table of Contents

 Key Features
 Installation
 Configuration
   AI Configuration
   Menu Configuration
   Search Field Configuration
 Baton AI In-Depth
 Page Detection
 Signals
 JS Utilities
 JS Translations
 List Filters
 Changelist Includes
 Changelist Filters Includes
 Changelist Row Attributes
 Form Tabs
 Form Includes
 Collapsable Stacked Inlines
 Themes & Customization
 Tests
 Development
 Contributing
 Star History

 ⭐ Key Features

 Compatibility Notes:

  For Django = 5.x: Use Baton = 5.0
  For 5.x  Django = 2.1: Use Baton == 4.x
  For older Django versions (1.x): Use django-baton==1.13.2

Baton is designed with a core principle: minimize overriding Django templates. Styling is primarily achieved through CSS, with JavaScript used for dynamic functionalities.

 Modern Stack: Built with Bootstrap 5 and Google Material Symbols.
 Fully Responsive: Adapts seamlessly to all screen sizes.
 🧠 AI Powered:
   Automatic translations (integrates with django-modeltranslation).
   Text summarization and correction.
   Tag suggestions for ManyToManyField tag fields, based on the other form fields.
   Image vision (descrip

Discussions

Latest release

Release 5.1.2 5.1.2 2026-02-22
Fixes:
- view icon in admin menu

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON