Unreleased
---
local:
depth: 1
---
wagtailcache
and wagtailpagecache
template tags to ensure previewing Pages or Snippets will not be cached (Jake Howard)field.html
template (Sage Abdullah)SnippetViewSet
menu registration mechanism to base ViewSet
class (Sage Abdullah)ModelViewSet
(Sage Abdullah)SnippetViewSet
template override mechanism to ModelViewSet
(Sage Abdullah)SnippetViewSet.list_display
to ModelViewSet
(Sage Abdullah)wagtail.publish
log action on aliases when they are created from live source pages or the source page is published (Dan Braghis)wagtail.unpublish
log action on aliases when source page is unpublished (Dan Braghis)IndexView
(Sage Abdullah)list_filter
, filterset_class
, search_fields
, search_backend_name
, list_export
, export_filename
, list_per_page
, and ordering
from SnippetViewSet
to ModelViewSet
(Sage Abdullah)IndexView
and CreateView
(Sage Abdullah)IndexView.export_headings
via ModelViewSet
(Christer Jensen, Sage Abdullah)FieldBlock
s correctly set the required
and aria-describedby
attributes (Storm Heg)None
from being exported as strings (Christer Jensen)WAGTAILADMIN_BASE_URL
on "Integrating Wagtail into a Django project" page (Shreshth Srivastava)WagtailTestUtils.get_soup()
method for testing HTML content (Storm Heg, Sage Abdullah)ViewSet
subclasses to customise url_prefix
and url_namespace
logic (Matt Westcott)SnippetViewSet
registration code (Sage Abdullah)IndexView.results_template_name
to results.html
(Sage Abdullah)w-bulk
Stimulus implementation (LB (Ben) Johnston)ModelViewSet
automatically registers the model to the reference indexModels that are registered with a ModelViewSet
now have reference index tracking enabled by default. This means that you no longer need to call ReferenceIndex.register_model()
in your app's ready()
method for such models. If this is undesired, you can disable it by setting {attr}~wagtail.admin.viewsets.model.ModelViewSet.add_to_reference_index
to False
on the ModelViewSet
subclass. For more details, see [](managing_the_reference_index).
IndexView.results_template_name
renamed from results.html
to index_results.html
The IndexView
's results_template_name
attribute in the GroupViewSet
has been renamed from wagtailusers/groups/results.html
to wagtailusers/groups/index_results.html
for consistency with the other viewsets. If you have customised or extended the template, e.g. for [](customising_group_views), you will need to rename it to match the new name.