diff --git a/docs/getting_started/tutorial.md b/docs/getting_started/tutorial.md index 24e614eb8a..045e9c38a3 100644 --- a/docs/getting_started/tutorial.md +++ b/docs/getting_started/tutorial.md @@ -178,7 +178,7 @@ python manage.py migrate You must run the preceding commands each time you make changes to the model definition. Here is the expected output from the terminal: -```txt +```text Migrations for 'home': home/migrations/0003_homepage_body.py - Add field body to homepage diff --git a/docs/releases/2.13.rst b/docs/releases/2.13.rst index e5e86f78ab..4da664f848 100644 --- a/docs/releases/2.13.rst +++ b/docs/releases/2.13.rst @@ -110,7 +110,7 @@ Wagtail 2.13 will be the last Wagtail release to support IE11. Users accessing t Updated handling of non-required StreamFields ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -The rules for determining whether a StreamField is required (i.e. at least one block must be provided) have been simplified and made consistent with other field types. Non-required fields are now indicated by ``blank=True`` on the ``StreamField`` definition; the default is ``blank=False`` (the field is required). In previous versions, to make a field non-required, it was necessary to define :ref:`a top-level StreamBlock` with ``required=False`` (which applied the validation rule) as well as setting ``blank=True`` (which removed the asterisk from the form field). You should review your use of StreamField to check that ``blank=True`` is used on the fields you wish to make optional. +The rules for determining whether a StreamField is required (i.e. at least one block must be provided) have been simplified and made consistent with other field types. Non-required fields are now indicated by ``blank=True`` on the ``StreamField`` definition; the default is ``blank=False`` (the field is required). In previous versions, to make a field non-required, it was necessary to define a top-level `StreamBlock` with ``required=False`` (which applied the validation rule) as well as setting ``blank=True`` (which removed the asterisk from the form field). You should review your use of StreamField to check that ``blank=True`` is used on the fields you wish to make optional. New client-side implementation for custom StreamField blocks