summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Jordan <henry.jordan@zefr.com>2015-09-22 12:03:58 -0700
committerTim Graham <timograham@gmail.com>2015-09-22 19:43:25 -0400
commit5add28dad0b31bd2e1d550de4d56a3c3ffbf1ec0 (patch)
tree39977383e80d15d4f294942f294af7ca0d429672
parent55f80d28d40cc0e9aaab34a1453ec10472e3459b (diff)
[1.8.x] Fixed #25447 -- Emphasized the need to restart dev server when adding template tags.
Backport of af95eee9fb70dae5b3b2ce8bc73c13fc1de239ff from master
-rw-r--r--docs/howto/custom-template-tags.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/howto/custom-template-tags.txt b/docs/howto/custom-template-tags.txt
index eb5c99c719..7e1bfe5313 100644
--- a/docs/howto/custom-template-tags.txt
+++ b/docs/howto/custom-template-tags.txt
@@ -20,8 +20,12 @@ create a new app to hold them.
The app should contain a ``templatetags`` directory, at the same level as
``models.py``, ``views.py``, etc. If this doesn't already exist, create it -
don't forget the ``__init__.py`` file to ensure the directory is treated as a
-Python package. After adding this module, you will need to restart your server
-before you can use the tags or filters in templates.
+Python package.
+
+.. admonition:: Development server won't automatically restart
+
+ After adding the ``templatetags`` module, you will need to restart your
+ server before you can use the tags or filters in templates.
Your custom tags and filters will live in a module inside the ``templatetags``
directory. The name of the module file is the name you'll use to load the tags