Skip to content

Instantly share code, notes, and snippets.

@jaddison
Created February 29, 2012 18:43
Show Gist options
  • Save jaddison/1943426 to your computer and use it in GitHub Desktop.
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
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