Fix typo in block preview example

pull/12409/merge
Matt Westcott 2025-01-20 18:19:32 +00:00
rodzic 9a024bcb42
commit 4244943300
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -537,7 +537,7 @@ You can also set `preview_value`, `preview_template`, and `description` as attri
```py
class QuoteBlock(blocks.StructBlock):
text = blocks.TextBlock()
attribute_name = blocks.CharBlock()
source = blocks.CharBlock()
class Meta:
preview_value = {"text": "This is the coolest CMS ever.", "source": "Willie Wagtail"}