mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-25 09:04:48 +00:00
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) |
||
|---|---|---|
| .. | ||
| api | ||
| bin | ||
| contrib | ||
| project_template | ||
| tests | ||
| utils | ||
| wagtailadmin | ||
| wagtailcore | ||
| wagtaildocs | ||
| wagtailembeds | ||
| wagtailforms | ||
| wagtailimages | ||
| wagtailredirects | ||
| wagtailsearch | ||
| wagtailsites | ||
| wagtailsnippets | ||
| wagtailusers | ||
| __init__.py | ||