summaryrefslogtreecommitdiff
path: root/app/builder
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-08-06 15:09:05 -0400
committerluxagraf <sng@luxagraf.net>2020-08-06 15:09:05 -0400
commit647176b83d2316a8f68613adac18e579dac6e2b1 (patch)
tree0791939ca747a4ee31f8bd057985a33997591aba /app/builder
parent5a29df9e2ab7c0d80296907fcb61dccfff1fd008 (diff)
updated to Django 3.1
Diffstat (limited to 'app/builder')
-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)