Created
February 29, 2012 18:43
-
-
Save jaddison/1943426 to your computer and use it in GitHub Desktop.
adding to the templates tags available by default - add to the top of settings.py for example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.template.loader import add_to_builtins | |
add_to_builtins('django.contrib.staticfiles.templatetags.staticfiles') | |
add_to_builtins('django.templatetags.i18n') | |
add_to_builtins('django.templatetags.future') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment