0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-21 18:09:02 +01:00

Fix typo: remove reference to PublishingPanel as a method

This commit is contained in:
Clifford Gama 2024-11-15 21:31:13 +02:00 committed by Matt Westcott
parent ed084ae3bd
commit f4d3c80e2f

View File

@ -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".