pypi django-jazzmin 4.0.0
v4.0.0 🌈

one hour ago

Jazzmin is now built on AdminLTE 4 and Bootstrap 5.3. Every admin screen has been reworked, and it now fits on phones and tablets.

  • Your settings keep working. Old AdminLTE 3 UI tweaks are translated for you, and manage.py check warns about anything that no longer applies.
  • Check the upgrading guide if you override jazzmin's templates or use Select2, jazzmin.compat or the carousel change form.
  • Python 3.11+ and Django 5.2, 6.0 and 6.1. If you're on Python 3.10 or Django 4.2, pin django-jazzmin<4.

Jazzmin on a desktop, tablet and phone

What's new

  • Light and dark mode, using AdminLTE's own colour mode. Visitors pick light, dark or follow their system, and you set the default. (docs)
  • Works on phones and tablets. The navbar folds its links into a menu, forms stack, and wide tables scroll rather than squashing. (screenshots)
  • Right-to-left languages get a mirrored admin, and there's a new Arabic translation.
  • Rebuilt UI customiser for AdminLTE 4, with 26 themes in light and dark. (themes)
  • Tom Select and flatpickr replace Select2 for searchable selects and date pickers, as AdminLTE 4 uses.
  • Typed settings. Settings and UITweaks dataclasses, typed menu entries that can nest, and is_visible on menu links. Dicts still work. (menus)
  • Tabs with errors are flagged on change forms, and Django 6.1's change form actions show up.
  • Dashboard record counts (dashboard_counts) and a facet count toggle on change lists.
  • Security. Templates work under a strict Content Security Policy, Google Fonts are off by default, and external links are safer.
  • Third-party apps. django-import-export, django-filer, django-solo, django-simple-history and django-reversion are tested on every change and use their own templates. (third-party apps)
  • Font Awesome 7.

Fixes

  • The related modal saves many-to-many IDs correctly.
  • The export form keeps the change list's filters.
  • Recent actions show the model's name.
  • The language prefix is only stripped from the start of URLs.
  • French translations compile again.
  • No more 500s from a bad UI-builder cookie or log message.
  • Plenty more from an issue sweep: login redirects, avatars, navbar colours, message levels, hide_apps casing, and the theme chooser under hashed static storage.

Docs

The docs have been checked against the code, and there's a new screenshot gallery showing every page at desktop, tablet and phone sizes, in light and dark.

Thanks

Thanks to everyone who contributed fixes and translations: @moamen-ui, @rumteen97, @jameslao, @STQT, @cybercoded and @vilos.

All changes

  • Fix tablet and phone layouts, review the docs and add a screenshot gallery @farridav (#733)
  • Bring every admin screen onto AdminLTE 4 @farridav (#732)
  • Align markup with AdminLTE 4 and let adminlte.js drive the sidebar @farridav (#731)
  • Cover admin pages and flows the tests never reached @farridav (#730)
  • Typed settings and menus @farridav (#729)
  • Security hardening: CSP-friendly templates, Google Fonts off, safer links @farridav (#728)
  • Fall back instead of 500ing on bad UI-builder cookies and log messages @farridav (#727)
  • Type everything strictly with django-stubs @farridav (#726)
  • Stop Jekyll parsing the template tags in the upgrading guide @farridav (#725)
  • Enforce strict typing in tests and template tags @farridav (#724)
  • Fix docs builds on GitHub Pages and Read the Docs @farridav (#722)
  • Bump GitHub Actions to current major versions @farridav (#723)
  • Test supported third-party apps and use their own templates @farridav (#721)
  • Document third-party app support tiers @farridav (#720)
  • Add facet count toggle and use the serving admin site's branding @farridav (#719)
  • Remove AdminLTE 3 leftovers and unrendered template tags @farridav (#718)
  • Fix bugs from the issue sweep and harden templates @farridav (#717)
  • Fix theme chooser under hashed storage and show 6.1 change form actions @farridav (#716)
  • Flag tabs with errors and add is_visible to menu links @farridav (#715)
  • Rebuild the UI builder for AdminLTE 4 @farridav (#714)
  • Translate AdminLTE 3 UI tweaks for AdminLTE 4 @farridav (#713)
  • Mirror the admin for right-to-left languages @farridav (#712)
  • Add Arabic (ar) translations @moamen-ui (#705)
  • Port community fixes: message levels, hide_apps case, top_navbar block @farridav (#711)
  • Style admin widgets with Django's own widgets.css @farridav (#710)
  • Use AdminLTE's ColorMode for light and dark mode @farridav (#709)
  • Bump Font Awesome to 7.3.1 @farridav (#708)
  • Upgrade locked dependencies @farridav (#707)
  • Support Python 3.11-3.15 and Django 5.2, 6.0 and 6.1 @farridav (#693)
  • Bump AdminLTE to 4.10.4, Bootstrap 5.3.9, Font Awesome 6.7.2 and Select2 4.2.0 @farridav (#706)
  • Add browser smoke tests and fix the regressions they found @farridav (#704)
  • Fix CI on fork PRs and tighten the test suite @farridav (#692)
  • fixed and issue in the related modal widget for many to many field ca… @rumteen97 (#689)
  • Ensure no double application of Select2 on action @jameslao (#460)
  • Fix compilemessages error for FR language @STQT (#654)
  • Avoid removing strings likes "en/" when it's not in language code @jameslao (#529)
  • Fix: Show model name in all recent actions (fixes #538) @cybercoded (#644)
  • Fix issue #685 - Fix export form dropping changelist filters @vilos (#686)

Don't miss a new django-jazzmin release

NewReleases is sending notifications on new releases.