Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.5.x] Fixed #20417 - Noted that a server restart is required to loa…

…d new templatetag modules.

Thanks Katya for the suggestion.

Backport of a46a399 from master
  • Loading branch information...
commit 9ed2121eca0d4543dd665d7c5a3015beaee28eb4 1 parent 7df9c2b
@timgraham timgraham authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  docs/howto/custom-template-tags.txt
View
3  docs/howto/custom-template-tags.txt
@@ -20,7 +20,8 @@ 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.
+Python package. After adding this 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
Please sign in to comment.
Something went wrong with that request. Please try again.