kopia lustrzana https://github.com/wagtail/wagtail
Remove outdated versionadded/versionchanged annotations
rodzic
573fea1db4
commit
bdfa3811d1
|
@ -34,10 +34,6 @@ Here's an example:
|
||||||
'source',
|
'source',
|
||||||
)
|
)
|
||||||
|
|
||||||
.. versionchanged:: 2.12
|
|
||||||
|
|
||||||
Fields on a custom document model can now be defined as required (``blank=False``).
|
|
||||||
|
|
||||||
Then in your settings module:
|
Then in your settings module:
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
|
@ -11,8 +11,6 @@ Internationalisation
|
||||||
Multi-language content
|
Multi-language content
|
||||||
======================
|
======================
|
||||||
|
|
||||||
.. versionadded:: 2.11
|
|
||||||
|
|
||||||
Overview
|
Overview
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
|
|
@ -224,11 +224,11 @@ Safari Windows
|
||||||
Sphinx offers release-metadata directives to generate this information consistently. Use as appropriate.
|
Sphinx offers release-metadata directives to generate this information consistently. Use as appropriate.
|
||||||
|
|
||||||
```eval_rst
|
```eval_rst
|
||||||
.. versionadded:: 2.11
|
.. versionadded:: 2.15
|
||||||
```
|
```
|
||||||
|
|
||||||
```eval_rst
|
```eval_rst
|
||||||
.. versionchanged:: 2.11
|
.. versionchanged:: 2.15
|
||||||
```
|
```
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
|
@ -236,11 +236,11 @@ Sphinx offers release-metadata directives to generate this information consisten
|
||||||
<summary>Rendered output</summary>
|
<summary>Rendered output</summary>
|
||||||
|
|
||||||
```eval_rst
|
```eval_rst
|
||||||
.. versionadded:: 2.11
|
.. versionadded:: 2.15
|
||||||
```
|
```
|
||||||
|
|
||||||
```eval_rst
|
```eval_rst
|
||||||
.. versionchanged:: 2.11
|
.. versionchanged:: 2.15
|
||||||
```
|
```
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
|
@ -72,8 +72,6 @@ Set the number of days (default 7) that search query logs are kept for; these ar
|
||||||
Internationalisation
|
Internationalisation
|
||||||
====================
|
====================
|
||||||
|
|
||||||
.. versionadded:: 2.11
|
|
||||||
|
|
||||||
Wagtail supports internationalisation of content by maintaining separate trees
|
Wagtail supports internationalisation of content by maintaining separate trees
|
||||||
of pages for each language.
|
of pages for each language.
|
||||||
|
|
||||||
|
|
|
@ -67,10 +67,6 @@ Field block types
|
||||||
:param validators: A list of validation functions for the field (see `Django Validators <https://docs.djangoproject.com/en/stable/ref/validators/>`__).
|
:param validators: A list of validation functions for the field (see `Django Validators <https://docs.djangoproject.com/en/stable/ref/validators/>`__).
|
||||||
:param form_classname: A value to add to the form field's ``class`` attribute when rendered on the page editing form.
|
:param form_classname: A value to add to the form field's ``class`` attribute when rendered on the page editing form.
|
||||||
|
|
||||||
.. versionchanged:: 2.11
|
|
||||||
|
|
||||||
The ``class`` attribute was previously set via the keyword argument ``classname``.
|
|
||||||
|
|
||||||
|
|
||||||
.. class:: wagtail.core.blocks.TextBlock
|
.. class:: wagtail.core.blocks.TextBlock
|
||||||
|
|
||||||
|
|
|
@ -540,11 +540,6 @@ A StreamField's value behaves as a list, and blocks can be inserted, overwritten
|
||||||
my_page.save()
|
my_page.save()
|
||||||
|
|
||||||
|
|
||||||
.. versionadded:: 2.12
|
|
||||||
|
|
||||||
In earlier versions, a StreamField value could be replaced by assigning a new list of *(block_type, value)* tuples, but not modified in-place.
|
|
||||||
|
|
||||||
|
|
||||||
.. _streamfield_migrating_richtext:
|
.. _streamfield_migrating_richtext:
|
||||||
|
|
||||||
Migrating RichTextFields to StreamField
|
Migrating RichTextFields to StreamField
|
||||||
|
|
Ładowanie…
Reference in New Issue