From 56cfe02bae6f162ad4b1b8c4c681e364a9d79845 Mon Sep 17 00:00:00 2001 From: Jan Korte Date: Thu, 3 Dec 2015 18:34:00 +0100 Subject: [PATCH] snippet docs: loading the tags is necessary --- CONTRIBUTORS.rst | 1 + docs/topics/snippets.rst | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CONTRIBUTORS.rst b/CONTRIBUTORS.rst index a4ccbba9e..71aa8d746 100644 --- a/CONTRIBUTORS.rst +++ b/CONTRIBUTORS.rst @@ -81,6 +81,7 @@ Contributors * John Draper * Rich Brennan * Alex Bridge +* Tamriel Translators diff --git a/docs/topics/snippets.rst b/docs/topics/snippets.rst index 791416c75..006cb55ea 100644 --- a/docs/topics/snippets.rst +++ b/docs/topics/snippets.rst @@ -83,6 +83,10 @@ Then in your own page templates, you can include your snippet template tag with: .. code-block:: html+django + {% load wagtailcore_tags demo_tags %} + + ... + {% block content %} ...