pull/11623/merge
Artem Kamyshansky 2024-12-27 13:41:07 +03:00 zatwierdzone przez Matt Westcott
rodzic 784f4bbbb9
commit f90fae1aee
1 zmienionych plików z 1 dodań i 1 usunięć
docs/extending

Wyświetl plik

@ -223,7 +223,7 @@ class BlogPage(Page):
content_panels = Page.content_panels + [
FieldPanel('country'),
FieldPanel('person', widget=PersonChooserWidget(linked_fields={
FieldPanel('author', widget=PersonChooserWidget(linked_fields={
# pass the country selected in the id_country input to the person chooser
# as a URL parameter `country`
'country': '#id_country',