diff --git a/docs/topics/templates.txt b/docs/topics/templates.txt index 9f0048bc1f..d3b951a7ac 100644 --- a/docs/topics/templates.txt +++ b/docs/topics/templates.txt @@ -415,6 +415,8 @@ APIs, you must configure them into the environment. For example, you can create ``myproject/jinja2.py`` with this content:: + from __future__ import absolute_import # Python 2 only + from django.contrib.staticfiles.storage import staticfiles_storage from django.core.urlresolvers import reverse