mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 23:43:47 +00:00
Fix de render_tex
This commit is contained in:
parent
19bd78bc8d
commit
63c80d69a3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue