From 2394fc70d1c33def374014226e7648db12562af1 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Fri, 30 Dec 2011 16:38:03 +0000 Subject: [PATCH] And add RequestContext too --- djangorestframework/utils/staticviews.py | 1 + 1 file changed, 1 insertion(+) diff --git a/djangorestframework/utils/staticviews.py b/djangorestframework/utils/staticviews.py index 7f5cb2e58..825ea6b5c 100644 --- a/djangorestframework/utils/staticviews.py +++ b/djangorestframework/utils/staticviews.py @@ -2,6 +2,7 @@ from django.contrib.auth.views import * from django.conf import settings from django.http import HttpResponse from django.shortcuts import render_to_response +from django.template import RequestContext import base64 def deny_robots(request):