From 23f35cfec06d4c3c73ae7a61017a304e5b8000f8 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Wed, 19 May 2021 20:58:48 +0300 Subject: Work authorization fixes --- servo/views/order.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'servo/views') diff --git a/servo/views/order.py b/servo/views/order.py index b6fae0a..18c2e3a 100644 --- a/servo/views/order.py +++ b/servo/views/order.py @@ -564,8 +564,7 @@ def put_on_paper(request, pk, kind="confirmation", fmt='html'): if fmt == 'pdf': fn = data.get('title') + '.pdf' - view = PDFTemplateView(request=request, template_name=template, - filename=fn) + view = PDFTemplateView(request=request, template_name=template, filename=fn) return view.render_to_response(data) return render(request, template, data) -- cgit v1.2.3