From 29645c0f6a7ce5e732ba63af69daa2469412aba9 Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Mon, 23 Jan 2017 17:07:19 +0000 Subject: [PATCH] Mention addition to INSTALLED_APPS in routablepage docs Fixes #3286 --- docs/reference/contrib/routablepage.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/reference/contrib/routablepage.rst b/docs/reference/contrib/routablepage.rst index db8c0d1083..66f12d9858 100644 --- a/docs/reference/contrib/routablepage.rst +++ b/docs/reference/contrib/routablepage.rst @@ -11,6 +11,20 @@ The ``RoutablePageMixin`` mixin provides a convenient way for a page to respond A ``Page`` using ``RoutablePageMixin`` exists within the page tree like any other page, but URL paths underneath it are checked against a list of patterns. If none of the patterns match, control is passed to subpages as usual (or failing that, a 404 error is thrown). +Installation +============ + +Add ``"wagtail.contrib.wagtailroutablepage"`` to your INSTALLED_APPS: + + .. code-block:: python + + INSTALLED_APPS = [ + ... + + "wagtail.contrib.wagtailroutablepage", + ] + + The basics ==========