django_tex package¶
Submodules¶
django_tex.core module¶
-
django_tex.core.compile_template_to_pdf(template_name, context)¶
-
django_tex.core.render_template_with_context(template_name, context)¶
-
django_tex.core.run_tex(source)¶
django_tex.engine module¶
django_tex.exceptions module¶
-
django_tex.exceptions.prettify_message(message)¶ Helper methods that removes consecutive whitespaces and newline characters
-
django_tex.exceptions.tokenizer(code)¶
django_tex.models module¶
-
class
django_tex.models.TeXTemplateFile(*args, **kwargs)¶ Bases :
django.db.models.base.Model-
name¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
title¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
-
django_tex.models.validate_template_path(name)¶
django_tex.views module¶
-
class
django_tex.views.PDFResponse(content, filename=None)¶ Bases :
django.http.response.HttpResponse
-
django_tex.views.render_to_pdf(request, template_name, context=None, filename=None)¶