From 647176b83d2316a8f68613adac18e579dac6e2b1 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Thu, 6 Aug 2020 15:09:05 -0400 Subject: updated to Django 3.1 --- app/builder/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/builder') 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) -- cgit v1.2.3-70-g09d2