Skip to content

Commit

Permalink
Better hint
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Oct 1, 2024
1 parent 4b7ec75 commit 2187175
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions feincms3/pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,7 @@ def _check_feincms3_pages_default_ordering(cls, **kwargs):
Warning(
"The page subclass isn't ordered by `position`.",
hint=(
'Define `ordering = ("position",)` when defining your own'
" `class Meta` on subclassed pages."
'Move `AbstractPage` first in the list of classes which your page class inherits or define `ordering = ("position",)` when defining your own `class Meta` on subclassed pages.'
),
obj=cls,
id="feincms3.W001",
Expand Down

0 comments on commit 2187175

Please sign in to comment.