Fix typo: Replace 'another field' with 'an author field' in writing_templates documentation ()

pull/12409/merge
Mohamed-Rabiaa 2025-01-21 21:49:13 +02:00 zatwierdzone przez Matt Westcott
rodzic 01d7858ba4
commit f25a95deee
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -869,6 +869,7 @@
* Mike Gifford
* Stéphane Blondon
* Jatin Bhardwaj
* Mohamed Rabiaa
## Translators

Wyświetl plik

@ -33,7 +33,7 @@ For more information, see the Django documentation for the [application director
### Page content
The data/content entered into each page is accessed/output through Django's `{{ double-brace }}` notation. Each field from the model must be accessed by prefixing `page.`. For example the page title `{{ page.title }}` or another field `{{ page.author }}`.
The data/content entered into each page is accessed/output through Django's `{{ double-brace }}` notation. Each field from the model must be accessed by prefixing `page.`. For example the page title `{{ page.title }}` or an author field `{{ page.author }}`.
A custom variable name can be configured on the page model {attr}`wagtail.models.Page.context_object_name`. If a custom name is defined, `page` is still available for use in shared templates.