0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
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
Matt Westcott
29645c0f6a Mention addition to INSTALLED_APPS in routablepage docs
Fixes #3286
2017-01-23 17:07:19 +00:00
Karl Hobley
6eae465e64 Renamed "self" template variable to "page" in docs 2015-10-13 09:52:16 +01:00
Karl Hobley
e0a1802f7c Improvements to RoutablePage docs 2015-06-19 09:55:30 +01:00
Karl Hobley
a0ddfc9fec Tweak to the RoutablePageMixin examples
Use view names as defined in the example above
2015-05-28 15:18:18 +01:00
Karl Hobley
6d6863c01d Link to routablepage from "adding endpoints to pages" docs 2015-05-18 15:17:27 +01:00
Dave Cranwell
3e5eb60bf9 moved pages, images, snippets, form builder, search into reference. Updated requirements, removed conflicting theme css file, updated README 2015-05-14 11:20:50 +01:00