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)FieldBlock
s correctly set the required
and aria-describedby
attributes (Storm Heg)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)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).