Commit 9e5e4914 authored by Tim Graham's avatar Tim Graham
Browse files

[1.8.x] Fixed #24646 -- Fixed jinja2 example on Python 2.

Backport of d974c89e from master
parent 581afddc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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