Browse Source

Fix de render_tex

override_mails
Hugo LEVY-FALK 7 years ago
parent
commit
63c80d69a3
  1. 2
      cotisations/tex.py

2
cotisations/tex.py

@ -105,7 +105,7 @@ def render_tex(_request, template, ctx={}):
Returns: Returns:
An HttpResponse with type `application/pdf` containing the PDF file. An HttpResponse with type `application/pdf` containing the PDF file.
""" """
pdf = create_pdf(template, ctx={}) pdf = create_pdf(template, ctx)
r = HttpResponse(content_type='application/pdf') r = HttpResponse(content_type='application/pdf')
r.write(pdf) r.write(pdf)
return r return r

Loading…
Cancel
Save