0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 09:33:54 +01:00
wagtail/docs/reference
Andreas Nüßlein 39bca11283 added default index_route for RoutablePageMixin
RoutablePageMixin has a default index_route method that is decorated
with `@route(r'^$')`. This way, including RoutablePageMixin doesn't
force you to re-enable the default functionality you would expect from a
Page anyways.
index_route behaves exactly like a standard Wagtail Page.
To override the default behaviour, one can simply override the route by
decorating another function with r'^$'.

(as disussed in issue #2866)
2017-08-11 09:58:44 +01:00
..
contrib added default index_route for RoutablePageMixin 2017-08-11 09:58:44 +01:00
pages Extra documentation / release note re the relationship between draft_title and get_admin_display_title 2017-08-03 12:05:52 +01:00
hooks.rst Backslash is not necessary when multi-line expression is parenthesized. 2017-07-18 09:56:42 +03:00
index.rst
management_commands.rst
project_template.rst
signals.rst