Permalink
Browse files

Update custom-template-tags.txt

Fixes for #20417 - added comment on custom template tags and server restart.
  • Loading branch information...
1 parent be826aa commit 4792168ac0fc6384340a9d46880393adb9c37996 @boromil committed May 18, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 docs/howto/custom-template-tags.txt
View
1 docs/howto/custom-template-tags.txt
@@ -47,6 +47,7 @@ The app that contains the custom tags must be in :setting:`INSTALLED_APPS` in
order for the :ttag:`{% load %}<load>` tag to work. This is a security feature:
It allows you to host Python code for many template libraries on a single host
machine without enabling access to all of them for every Django installation.
+Also you will need to restart your server before the new template tags can be used.
There's no limit on how many modules you put in the ``templatetags`` package.
Just keep in mind that a :ttag:`{% load %}<load>` statement will load

3 comments on commit 4792168

@erlenddalen

The text should also mention the need to restart the server if you create a new template filter.

@boromil
Owner

I've changed the sentence to "Also you will need to restart your server before the new template tags or filters can be used.". Should I now just make another pull request? Sorry - I'm a total n00b to this.

@erlenddalen
Please sign in to comment.