Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Be clear with template_to_temp_file's arguments | James Turnbull | 2012-03-09 | 1 | -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 templates | James Turnbull | 2012-03-09 | 1 | -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.2 | Charlie Denton | 2012-02-24 | 1 | -1/+1 |
| | |||||
* | Restore *args to PDFTemplateView. | Charlie Denton | 2012-02-24 | 1 | -4/+2 |
| | |||||
* | Fix a couple of daft mistakes. | Charlie Denton | 2012-02-24 | 1 | -6/+7 |
| | |||||
* | Add get_filename method. | Charlie Denton | 2012-02-23 | 1 | -1/+4 |
| | |||||
* | Made PDFTemplateView a little more extensible, and added orientation. | Charlie Denton | 2012-02-23 | 1 | -12/+18 |
| | |||||
* | Return super when called. | Charlie Denton | 2012-02-23 | 1 | -1/+1 |
| | |||||
* | Make PDFTemplateView use PDFResponse. | Charlie Denton | 2012-02-23 | 1 | -1/+1 |
| | |||||
* | Deprecate baDly cApitalised Views. | Charlie Denton | 2012-02-23 | 1 | -2/+16 |
| | |||||
* | Test translation to temp file. | Marc Tamlyn | 2012-01-16 | 1 | -0/+13 |
| | |||||
* | Add a testproject and empty tests file. | Marc Tamlyn | 2012-01-16 | 2 | -0/+0 |
| | |||||
* | Fix use of STATIC vs MEDIA url | George Hickman | 2011-10-30 | 1 | -1/+1 |
| | |||||
* | Refactor the main render method into a class based view | George Hickman | 2011-10-30 | 2 | -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 cleanup | George Hickman | 2011-10-30 | 1 | -3/+4 |
| | | | | | Fix a spelling mistake Wrap a particularly long line | ||||
* | Use with for file usage | George Hickman | 2011-10-30 | 1 | -6/+7 |
| | | | | | Replace old style file open and close with a `with` block for clarity and it's error handling. | ||||
* | Removed unised importv0.1.1 | Max Peterson | 2011-09-06 | 1 | -1/+0 |
| | |||||
* | Bumped version to 0.1.1 | Max Peterson | 2011-09-06 | 1 | -1/+1 |
| | |||||
* | Fixed init for mkrelease | Max Peterson | 2011-09-06 | 1 | -2/+5 |
| | |||||
* | Bumped version to 0.1.1 | Max Peterson | 2011-09-06 | 1 | -0/+3 |
| | |||||
* | Added smart_str | Max Peterson | 2011-09-06 | 1 | -1/+3 |
| | |||||
* | fixed some bugs, added filename support | Charlie Denton | 2011-07-25 | 1 | -4/+10 |
| | |||||
* | Added as new | Max Peterson | 2011-07-08 | 2 | -0/+89 |