diff --git a/docs/topics/templates.txt b/docs/topics/templates.txt index aab43f6c88..7a0fc77373 100644 --- a/docs/topics/templates.txt +++ b/docs/topics/templates.txt @@ -423,6 +423,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