Fix typo: remove reference to PublishingPanel as a method

pull/12520/head^2
Clifford Gama 2024-11-15 21:31:13 +02:00 zatwierdzone przez Matt Westcott
rodzic ed084ae3bd
commit f4d3c80e2f
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -218,7 +218,7 @@ Since your `FooterText` model is a Wagtail snippet, you must manually add `Mixin
`TranslatableMixin` is an abstract model you can add to any non-page Django model to make it translatable.
Also, with Wagtail, you can set publishing schedules for changes you made to a Snippet. You can use the `PublishingPanel()` method to schedule `revisions` in your `FooterText`.
Also, with Wagtail, you can set publishing schedules for changes you made to a Snippet. You can use a `PublishingPanel` to schedule revisions in your `FooterText`.
The `__str__` method defines a human-readable string representation of an instance of the `FooterText` class. It returns the string "Footer text".