summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ckeditor/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ckeditor/views.py b/ckeditor/views.py
index cb5b77c..d4ac98f 100644
--- a/ckeditor/views.py
+++ b/ckeditor/views.py
@@ -7,7 +7,7 @@ from django.core.files.storage import default_storage
from django.views.decorators.csrf import csrf_exempt
from django.views import generic
from django.http import HttpResponse
-from django.shortcuts import render_to_response
+from django.shortcuts import render
from django.template import RequestContext
from ckeditor import image_processing
@@ -146,4 +146,4 @@ def browse(request):
context = {
'files': get_files_browse_urls(request.user),
}
- return render_to_response('browse.html', context)
+ return render(request, 'browse.html', context)