Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch python3 / mod_wsgi incompatibility on sys.stderrr.fileno() call | Joseph | 2015-07-28 | 1 | -1/+6 |
| | | | | | Root cause of this issue is in python3 / mod_wsgi. See: https://github.com/GrahamDumpleton/mod_wsgi/issues/85 This patch detects if there is something screwy with fileno() and simply skips setting stderr if there is to avoid the AttributeError that occurs otherwise. Pull https://github.com/incuna/django-wkhtmltopdf/pull/40 fixed this same issue when it arose for python 2.7, but the nature of the issue seems to have shifted, making it trickier to detect that the fileno() method cannot be called. | ||||
* | Skip absolute path substitution where STATIC or MEDIA URL is not set | Joseph | 2015-07-16 | 1 | -1/+1 |
| | | | | STATIC_URL or MEDIA_URL settings default to '' and None These default values cause the url match and replace algorithm to insert the *_ROOT setting in EVERY quoted string!! | ||||
* | Change the wkhtmltopdf url | Daniel Duong | 2014-10-27 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of github.com:incuna/django-wkhtmltopdf | Matt Lenc | 2014-09-01 | 2 | -10/+40 |
|\ | |||||
| * | Rely only smart_text once django 1.4 also supports it. | Michel Sabchuk | 2014-09-01 | 1 | -5/+1 |
| | | | | | | | | | | As well pointed by @mattack108, django 1.4 also haves smart_text. We don't have to do that import. | ||||
| * | Being more explicit about the reason for smart_unicode. | Michel Sabchuk | 2014-09-01 | 1 | -0/+1 |
| | | |||||
| * | Makes tests.py lines 80 columns max. | Michel Sabchuk | 2014-09-01 | 1 | -4/+10 |
| | | |||||
| * | Replace smart_str with smart_text/unicode for py2.x compat. | Michel Sabchuk | 2014-09-01 | 1 | -2/+5 |
| | | |||||
| * | Makes unicode content views testing fails too. | Michel Sabchuk | 2014-09-01 | 1 | -5/+18 |
| | | | | | | | | | | | | The view didn't define any title in context and the templates itself doen't have unicode content. I forced it making a view with a unicode title in context. | ||||
| * | Add failing test of unicode content. | Michel Sabchuk | 2014-09-01 | 1 | -0/+11 |
| | | |||||
* | | Bump to v2.0.2v2.0.2 | Matt Lenc | 2014-09-01 | 1 | -1/+1 |
|/ | |||||
* | Bump to 2.0.1v2.0.1 | Matt Lenc | 2014-07-03 | 1 | -1/+1 |
| | |||||
* | Aligned test to code update. | Paolo Melchiorre | 2014-07-03 | 1 | -4/+1 |
| | |||||
* | Removed mimetype from response for Django 1.7 compatibility. See ↵ | Paolo Melchiorre | 2014-07-02 | 1 | -4/+2 |
| | | | | https://docs.djangoproject.com/en/dev/internals/deprecation/#deprecation-removed-in-1-7 | ||||
* | Bring back the test assert for title in content | Matt Lenc | 2014-06-19 | 2 | -3/+5 |
| | |||||
* | First try py3k then fall back to python2 | Matt Lenc | 2014-06-18 | 2 | -6/+6 |
| | |||||
* | colour-runner dependency doesn't work on py2.6 | Matt Lenc | 2014-06-18 | 1 | -6/+1 |
| | | | | DAMN IT | ||||
* | [ci skip] Bump to 2.0.0 | Matt Lenc | 2014-06-18 | 1 | -1/+1 |
| | |||||
* | Make teh tests run right | Matt Lenc | 2014-06-18 | 2 | -30/+43 |
| | | | | Because Django 1.6 and other fireworks. | ||||
* | Support moar Django | Matt Lenc | 2014-06-18 | 1 | -1/+0 |
| | | | | The future is now ;] | ||||
* | Update test reqs for Django with py3k support | Matt Lenc | 2014-06-18 | 1 | -1/+1 |
| | | | | | In near future we should support moar Djangos (and using Travis for this). | ||||
* | Add support for Python3 | Matt Lenc | 2014-06-18 | 3 | -30/+43 |
| | |||||
* | increase version of django-wkhtmltopdf | Fabio C. Barrionuevo da Luz | 2014-03-11 | 1 | -1/+1 |
| | |||||
* | Bump version to 1.2.2v1.2.2 | mattack108 | 2013-09-20 | 1 | -1/+1 |
| | |||||
* | Add SECRET_KEY to settings | mattack108 | 2013-09-20 | 1 | -0/+2 |
| | |||||
* | Fix tests for Travis by obtaining the WKHTMLTOPDF_CMD from env vars. | mattack108 | 2013-09-20 | 1 | -2/+3 |
| | |||||
* | Bump version to 1.2.1v1.2.1 | George Hickman | 2013-09-20 | 1 | -1/+1 |
| | |||||
* | Test sys.stderr to ensure it hasn't been overridden | Greg McGuire | 2013-08-02 | 1 | -5/+8 |
| | |||||
* | Bumped version to 1.2v1.2 | mattack108 | 2013-01-17 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of github.com:incuna/django-wkhtmltopdf into travis-setup | mattack108 | 2013-01-16 | 5 | -225/+211 |
|\ | |||||
| * | Remove unwanted settings vars from test project | mattack108 | 2013-01-15 | 1 | -4/+0 |
| | | |||||
| * | DRY on tests | mattack108 | 2013-01-15 | 1 | -140/+43 |
| | | |||||
| * | Fix tests and add new ones for show_content_in_browser feature | mattack108 | 2013-01-15 | 3 | -176/+264 |
| | | |||||
| * | Move make_absolute_paths to utils so it can be used in tests | mattack108 | 2013-01-15 | 2 | -37/+39 |
| | | |||||
| * | Remove old unused arg from PDFTemplateResponse class | mattack108 | 2013-01-15 | 1 | -2/+1 |
| | | |||||
| * | Remove double quotes from filename as it's done by content_disposition_filename | mattack108 | 2013-01-15 | 1 | -3/+2 |
| | | |||||
| * | Send good headers, in correct format | mattack108 | 2013-01-15 | 1 | -2/+3 |
| | | |||||
| * | PEP8 all the things! | mattack108 | 2013-01-15 | 1 | -12/+10 |
| | | |||||
* | | Move requirements file to test project, update travis.yml | mattack108 | 2013-01-15 | 1 | -0/+1 |
|/ | |||||
* | Add support for rendering PDF file in the browser | mattack108 | 2013-01-15 | 1 | -7/+16 |
| | |||||
* | Merge pull request #21 from shadowrock/fix-extra-slashes | James Turnbull | 2013-01-10 | 1 | -1/+2 |
|\ | | | | | Removed extra slashes so the local file paths work in Windows. | ||||
| * | Removed extra slashes so the local file paths work in Windows. | Matti Varjokallio | 2012-11-29 | 1 | -1/+2 |
| | | |||||
* | | Remove duplicates when replacing file paths | Zach Gohr | 2013-01-09 | 1 | -2/+7 |
| | | |||||
* | | Fix for case when WKHTMLTOPDF_CMD consists of many parts. | Matti Varjokallio | 2012-12-09 | 1 | -1/+1 |
|/ | |||||
* | Bumped versionv1.1 | James Turnbull | 2012-11-14 | 1 | -1/+1 |
| | |||||
* | Tidy up a bit | mlen108 | 2012-11-14 | 1 | -5/+9 |
| | |||||
* | Fix paths for STATIC media files | mlen108 | 2012-11-14 | 1 | -10/+27 |
| | |||||
* | Match single/double quotes. | mlen108 | 2012-11-13 | 1 | -1/+1 |
| | |||||
* | Use MEDIA_URL instead of hard-coded string. | mlen108 | 2012-11-13 | 1 | -1/+1 |
| | |||||
* | Fix images path in PDFs | mlen108 | 2012-11-13 | 2 | -92/+16 |
| |