diff options
| author | Michael Mior | 2013-01-06 15:49:12 -0500 |
|---|---|---|
| committer | Michael Mior | 2013-01-06 15:49:12 -0500 |
| commit | 9b67a33b922e2797adab261640ee6f0acb093985 (patch) | |
| tree | a913c2bfc0935c901d8753a9ba56f0bd1049205c | |
| parent | 12bb25b372de43ac3a944a8eff518b1c6f41ddfc (diff) | |
| download | django-rest-framework-9b67a33b922e2797adab261640ee6f0acb093985.tar.bz2 | |
Use the correct static template tag in Django 1.5
| -rw-r--r-- | rest_framework/templatetags/rest_framework.py | 2 |
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): |
