Fix typo in StructBlock documentation

The StructValue class `LinkValue` is refrerenced as `LinkStructValue` in the Meta class.
pull/7462/head
Jannis Vajen 2021-08-19 15:16:38 +02:00 zatwierdzone przez Matt Westcott
rodzic 2d741386c4
commit fd42d192c9
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -241,7 +241,7 @@ Instead, you should define a subclass of ``StructValue`` that implements your cu
from wagtail.core.blocks import StructValue
class LinkValue(StructValue):
class LinkStructValue(StructValue):
def url(self):
external_url = self.get('external_url')
page = self.get('page')