add backticks to streamfield option docs

pull/6730/head
Matt Westcott 2021-01-25 14:26:08 +00:00
rodzic d22fc9181e
commit d42b9b4a74
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -49,7 +49,7 @@ This defines the set of available block types that can be used within this field
``StreamField`` also accepts the following optional keyword arguments:
``blank`` (default: False)
``blank`` (default: ``False``)
When false, at least one block must be provided for the field to be considered valid.
``min_num``
@ -63,7 +63,7 @@ This defines the set of available block types that can be used within this field
.. versionadded:: 2.13
The ``min_num``, ``max_num`` and ``block_counts`` arguments were added. Previously, these were only available on the StreamBlock definition.
The ``min_num``, ``max_num`` and ``block_counts`` arguments were added. Previously, these were only available on the ``StreamBlock`` definition.
Basic block types