diff options
author | Filipp Lepalaan <filipp@mac.com> | 2021-05-19 20:58:48 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2021-05-19 20:58:48 +0300 |
commit | 23f35cfec06d4c3c73ae7a61017a304e5b8000f8 (patch) | |
tree | 0047797f60510b453b9ae727c9d755bcac1297ae /servo/views | |
parent | d131966430914e1a148f02666ccdb1c4e5bc530f (diff) | |
download | Servo-23f35cfec06d4c3c73ae7a61017a304e5b8000f8.tar.gz Servo-23f35cfec06d4c3c73ae7a61017a304e5b8000f8.tar.bz2 Servo-23f35cfec06d4c3c73ae7a61017a304e5b8000f8.zip |
Work authorization fixes
Diffstat (limited to 'servo/views')
-rw-r--r-- | servo/views/order.py | 3 |
1 files changed, 1 insertions, 2 deletions
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) |