Commit ebbc60a6 by Tom Christie

Merge pull request #97 from anemitz/master

ADMIN_MEDIA_PREFIX no longer supported in django1.4
parents 8af629f5 9f63e8dd
...@@ -326,7 +326,7 @@ class DocumentingTemplateRenderer(BaseRenderer): ...@@ -326,7 +326,7 @@ class DocumentingTemplateRenderer(BaseRenderer):
'logout_url': logout_url, 'logout_url': logout_url,
'FORMAT_PARAM': self._FORMAT_QUERY_PARAM, 'FORMAT_PARAM': self._FORMAT_QUERY_PARAM,
'METHOD_PARAM': getattr(self.view, '_METHOD_PARAM', None), '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) ret = template.render(context)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment