Bases: pyPdf.pdf.PdfFileWriter
Iterable PdfFileWriter (from pyPDF).
Usage:
>>> pdf_file = StreamedPdfFileWriter()
>>> # add contents
>>> response = HttpResponse(pdf_file)
>>> # set response headers
View that returns the object’s attributes as a PDF file.
Bases: tuple
StateHistory(date, user, state)
itemgetter(item, ...) –> itemgetter object
Return a callable object that fetches the given item(s) from its operand. After, f=itemgetter(2), the call f(r) returns r[2]. After, g=itemgetter(2,5,3), the call g(r) returns (r[2], r[5], r[3])
itemgetter(item, ...) –> itemgetter object
Return a callable object that fetches the given item(s) from its operand. After, f=itemgetter(2), the call f(r) returns r[2]. After, g=itemgetter(2,5,3), the call g(r) returns (r[2], r[5], r[3])
itemgetter(item, ...) –> itemgetter object
Return a callable object that fetches the given item(s) from its operand. After, f=itemgetter(2), the call f(r) returns r[2]. After, g=itemgetter(2,5,3), the call g(r) returns (r[2], r[5], r[3])
Returns a HTTPResponse that contains all PDF files merged into a single PDF file.
Views to select pdf files to download.
View helper to select pdf files to download.
View to download a merged pdf file that contains all pdf files.
Redirects to select_pdf_part() or select_pdf_document() according to the type of the object.
Raises ValueError if the object is not a part or a document.