aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2013-01-07 00:52:23 -0800
committerTom Christie2013-01-07 00:52:23 -0800
commit2034009b597ac2617086734f5075732e4f71edc8 (patch)
treea913c2bfc0935c901d8753a9ba56f0bd1049205c
parent12bb25b372de43ac3a944a8eff518b1c6f41ddfc (diff)
parent9b67a33b922e2797adab261640ee6f0acb093985 (diff)
downloaddjango-rest-framework-2034009b597ac2617086734f5075732e4f71edc8.tar.bz2
Merge pull request #559 from michaelmior/django1.5-static
{% static %} template tag for Django 1.5
-rw-r--r--rest_framework/templatetags/rest_framework.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/templatetags/rest_framework.py b/rest_framework/templatetags/rest_framework.py
index 09c658bc..82fcdfe7 100644
--- a/rest_framework/templatetags/rest_framework.py
+++ b/rest_framework/templatetags/rest_framework.py
@@ -23,7 +23,7 @@ register = template.Library()
# conflicts with this rest_framework template tag module.
try: # Django 1.5+
- from django.contrib.staticfiles.templatetags import StaticFilesNode
+ from django.contrib.staticfiles.templatetags.staticfiles import StaticFilesNode
@register.tag('static')
def do_static(parser, token):