Add StreamField to title of BoundBlocks page

pull/6947/head
Matt Westcott 2021-03-23 18:23:32 +00:00 zatwierdzone przez Matt Westcott
rodzic 746a95ede0
commit 9f084fff6d
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1,7 +1,7 @@
.. _boundblocks_and_values:
About BoundBlocks and values
----------------------------
About StreamField BoundBlocks and values
----------------------------------------
All StreamField block types accept a ``template`` parameter to determine how they will be rendered on a page. However, for blocks that handle basic Python data types, such as ``CharBlock`` and ``IntegerBlock``, there are some limitations on where the template will take effect, since those built-in types (``str``, ``int`` and so on) cannot be 'taught' about their template rendering. As an example of this, consider the following block definition: