diff --git a/pandora/oxdjango/api/views.py b/pandora/oxdjango/api/views.py index f5886e84..f6c195ba 100644 --- a/pandora/oxdjango/api/views.py +++ b/pandora/oxdjango/api/views.py @@ -4,7 +4,6 @@ from __future__ import division, absolute_import import json from django.shortcuts import render_to_response -from django.template import RequestContext from django.conf import settings from ..shortcuts import render_to_json_response, json_response, HttpErrorJson @@ -27,7 +26,7 @@ def api(request): for f in sorted(methods): api.append({'name': f, 'doc': actions.doc(f).replace('\n', '
\n')}) - context = RequestContext(request, { + context = { 'api': api, 'settings': settings, 'sitename': settings.SITENAME