aboutsummaryrefslogtreecommitdiffstats
path: root/wkhtmltopdf
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 0.3George Hickman2012-05-211-3/+3
| | | | | | | * Tidy up the setup.py. * Remove the old `fread` method. * Make `__version__` a string. * Move `__author__` into __init__.py
* Pass around args and kwargs in PDFResponseGeorge Hickman2012-05-211-5/+6
| | | | | In case you want to pass more things up to HttpResponse. Can't pass filename down though.
* Only set 'Content-Disposition' header if filename is setGeorge Hickman2012-05-211-2/+4
| | | | | | | Setting 'Content-Disposition' explicitly sets the PDF as an attachment causing browsers to download the PDF. However newer browsers, like Chrome, will display the PDF without this header. So assume the dev wants this to be force download if they set the filename.
* Don't remove tmp files before they're used.George Hickman2012-05-211-6/+12
| | | | | Put _tmp_files onto the object and remove them after the output has been created.
* Bumped versionJames Turnbull2012-03-091-1/+1
|
* Fixed remote images in pdfJames Turnbull2012-03-091-2/+6
| | | | If there's no context_instance (which seems to be the common case), make a Requestcontext and use that.
* Bumped version to 0.2.1v0.2.1James Turnbull2012-03-091-1/+1
|
* Be clear with template_to_temp_file's argumentsJames Turnbull2012-03-091-2/+2
| | | | | | | | | | | It's not obvious what template_to_temp_file is doing with its undefined arguments. The Zen of Python states: Explicit is better than implicit. Readability counts. An alternative solution would be to rename the function to loader_render_to_tempfile or similar, but this fix is more backwards-compatible.
* Use get_template_names() to get templatesJames Turnbull2012-03-091-1/+1
| | | | | Rather than directly going to self.template_name use the get_template_names() function (which returns self.template_name if not overridden).
* Bump version to 0.2v0.2Charlie Denton2012-02-241-1/+1
|
* Restore *args to PDFTemplateView.Charlie Denton2012-02-241-4/+2
|
* Fix a couple of daft mistakes.Charlie Denton2012-02-241-6/+7
|
* Add get_filename method.Charlie Denton2012-02-231-1/+4
|
* Made PDFTemplateView a little more extensible, and added orientation.Charlie Denton2012-02-231-12/+18
|
* Return super when called.Charlie Denton2012-02-231-1/+1
|
* Make PDFTemplateView use PDFResponse.Charlie Denton2012-02-231-1/+1
|
* Deprecate baDly cApitalised Views.Charlie Denton2012-02-231-2/+16
|
* Test translation to temp file.Marc Tamlyn2012-01-161-0/+13
|
* Add a testproject and empty tests file.Marc Tamlyn2012-01-162-0/+0
|
* Fix use of STATIC vs MEDIA urlGeorge Hickman2011-10-301-1/+1
|
* Refactor the main render method into a class based viewGeorge Hickman2011-10-302-30/+62
| | | | | | Use a PdfResponse to deal with the headers and response type. Make the margin_* and filename variables instance variables on the view with sane defaults.
* Code cleanupGeorge Hickman2011-10-301-3/+4
| | | | | Fix a spelling mistake Wrap a particularly long line
* Use with for file usageGeorge Hickman2011-10-301-6/+7
| | | | | Replace old style file open and close with a `with` block for clarity and it's error handling.
* Removed unised importv0.1.1Max Peterson2011-09-061-1/+0
|
* Bumped version to 0.1.1Max Peterson2011-09-061-1/+1
|
* Fixed init for mkreleaseMax Peterson2011-09-061-2/+5
|
* Bumped version to 0.1.1Max Peterson2011-09-061-0/+3
|
* Added smart_strMax Peterson2011-09-061-1/+3
|
* fixed some bugs, added filename supportCharlie Denton2011-07-251-4/+10
|
* Added as newMax Peterson2011-07-082-0/+89