What’s New in the Admin Site
2.4.0 (2026-11-18): stock Django admin, no Unfold
- django-unfold removed. The admin is the stock Django admin (5.2 and 6.1) with django-cfg navigation and branding.
PydanticAdmin/AdminConfigkeep their contract. - Renames, no aliases.
UnfoldConfigisAdminSiteConfig,UnfoldSidebarisAdminSidebar,DjangoConfig.unfoldisDjangoConfig.admin_site,settings.UNFOLDissettings.CFG_ADMIN_SITE,modules/django_unfoldismodules/admin_site.theme=,show_search=and the other Unfold-only arguments are gone. Full table: Migrating from Unfold. - Theme.
cfg-theme.cssputs shadcn/ui “neutral” tokens on the stock admin; dark by default, light and auto through Django’s own toggle. - Overview.
/admin/isadmin/cfg_overview.html(index_template), with the new MCP and Modules tabs;/admin/<app_label>/is the stock app page again. - Actions.
actions_list/actions_detailbuttons are POST forms with the CSRF token, and a GET answers 405. An action that is a page with its own form needs@action(method="get"). A bulk action with confirmation runs on the second POST withpost=yes, as Django’sdelete_selected.
2.3.x (November 2026): admin slim-down
Before 2.4.0 django-unfold was the admin base (pinned django-unfold>=0.110,<0.111). PydanticAdmin / AdminConfig stay the main admin classes. What changed around them:
- Dashboard REST API removed. The Next.js dashboard and its API at
/cfg/dashboard/api/(statistics,health,charts,commands) are gone; nothing was found calling them. The HTML dashboard tabs at/cfg/admin/dashboard/<slug>/remain: see Dashboard. SystemMonitorremoved from the admin module.- Icons import.
Iconsis public asfrom django_cfg import Icons(the files live indjango_cfg/icons).from django_cfg.modules.django_admin import Iconsno longer works. - Flash messages work.
templates/admin/base_site.htmlextendsadmin/base.html, which carries the messages block, soself.message_user(...)andmessages.*appear once after a redirect. - One
TimezoneMiddleware. It was listed twice in the generatedMIDDLEWARE; it is now listed once. sqlite:////abs/pathin a database URL is an absolute path;sqlite:///rel/pathis relative./favicon.icois served by django-cfg (a small SVG) after the project’s own routes, so a project route wins.- Constance no longer imports Unfold unconditionally: without Unfold it falls back to plain fields.
- The System dashboard tab counts tables through Django’s introspection, so it works on any database backend.
Related
- Admin Site: field reference, navigation, theme.
- Django Admin:
PydanticAdminandAdminConfig.
Last updated on