summaryrefslogtreecommitdiff
path: root/app/builder/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/builder/views.py')
-rw-r--r--app/builder/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/builder/views.py b/app/builder/views.py
index 7491b32..a32d384 100644
--- a/app/builder/views.py
+++ b/app/builder/views.py
@@ -1,4 +1,4 @@
-from django.shortcuts import render_to_response
+from django.shortcuts import render
from django.template import RequestContext
from builder.base import BuildWriting, BuildWritingFeed, BuildMap, BuildPhotos, BuildProjects, BuildSitemap
from src.build import builder as src_builder
@@ -82,4 +82,4 @@ def do_build(request):
else:
options[section]().build()
context = {'message': 'Writing %s to Disk' % section}
- return render_to_response('admin/message.html', context)
+ return render(request, 'admin/message.html', context)