mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 11:23:10 +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:
|
||||
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.write(pdf)
|
||||
return r
|
||||
|
|
Loading…
Reference in a new issue