diff options
| author | Anthony Nemitz | 2011-12-19 22:09:09 -0800 | 
|---|---|---|
| committer | Anthony Nemitz | 2011-12-19 22:09:09 -0800 | 
| commit | 9f63e8dd1d23f9975e90e92d9aaf3def321b5e9b (patch) | |
| tree | 7f87cc91ee43ecb64a419f96aa67139c2c13fda0 /djangorestframework/renderers.py | |
| parent | 8af629f566f3973589256021501cb51b9a5383a7 (diff) | |
| download | django-rest-framework-9f63e8dd1d23f9975e90e92d9aaf3def321b5e9b.tar.bz2 | |
ADMIN_MEDIA_PREFIX is deprecated in django1.4
Diffstat (limited to 'djangorestframework/renderers.py')
| -rw-r--r-- | djangorestframework/renderers.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/renderers.py b/djangorestframework/renderers.py index aae2cab2..3f951ba1 100644 --- a/djangorestframework/renderers.py +++ b/djangorestframework/renderers.py @@ -326,7 +326,7 @@ class DocumentingTemplateRenderer(BaseRenderer):              'logout_url': logout_url,              'FORMAT_PARAM': self._FORMAT_QUERY_PARAM,              'METHOD_PARAM': getattr(self.view, '_METHOD_PARAM', None), -            'ADMIN_MEDIA_PREFIX': settings.ADMIN_MEDIA_PREFIX +            'ADMIN_MEDIA_PREFIX': getattr(settings, 'ADMIN_MEDIA_PREFIX', None),          })          ret = template.render(context)  | 
