Skip to content

v1.8.1

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 16:48
· 21 commits to develop since this release

Changed

  • EntityAdmin no longer sets list_select_related = True (deprecated in Django 6.1). The changelist joins the foreign keys named in list_display; set list_select_related on a subclass whose callables read owner or lastmod_user.
  • EntityAdmin.get_actions() accepts Django 6.1's action_location argument.
  • erp_framework.api needs django-admin-api-mcp 0.1.0a4 or later, which renamed its import package and app label from admin_api to admin_api_mcp: settings use INSTALLED_APPS += ["admin_api_mcp"] and admin_api_mcp.middleware.ApiRequestMiddleware. Install it with the new api extra (django-erp-framework[api]).
  • MCP dry runs validate only: they run the form, the inlines and whole_changeform_validation through the new EntityAdmin.validate_changeform, and skip pre_save, post_save and the changeform_saved signal.

Fixed

  • erp_framework.api works with the released django-admin-api-mcp 0.1.0: 1.8.0 imported admin_api and failed with ModuleNotFoundError: No module named 'admin_api'.
  • erp_framework.reporting sets default_auto_field = BigAutoField to match its migrations: projects on DEFAULT_AUTO_FIELD = AutoField no longer get a pending migration for GroupReportPermission.id and UserReportPermission.id.
  • Report pages, the reversion recover list and the reversion object history fill the content_title block: themes that render the page heading only from that block (django-jazzy-tabler) now show the report or page title.