<commit_before>Changelog for django-wkhtmltopdf
================================


1.2
---

* Fixed tests.
* Added option for not forcing download of PDF content. By default the content
  is saved to a file, but can be displayed in the browser directly when
  `show_content_in_browser` is set to True on `PDFTemplateView`.
* Removed duplicates when replacing STATIC/MEDIA paths.
* Fixed an issue when WKHTMLTOPDF_CMD consists of many parts.
* Fixed the local file paths so it works on Windows.


1.1
---

* Removed override_settings code for rewriting the STATIC and MEDIA URLs as it
  was not suitable for production use. It has been replaced with a string
  replace for just now, but a proper HTML parser may be required in the future.<commit_msg>Update CHANGELOG<commit_after>Changelog for django-wkhtmltopdf
================================

1.2.2
-----

* Fix tests on Travis due to its platform changes.
* Allow to define WKHTMLTOPDF_CMD as environment variable.


1.2.1
-----

* Test sys.stderr to ensure it hasn't been overridden.


1.2
---

* Fixed tests.
* Added option for not forcing download of PDF content. By default the content
  is saved to a file, but can be displayed in the browser directly when
  `show_content_in_browser` is set to True on `PDFTemplateView`.
* Removed duplicates when replacing STATIC/MEDIA paths.
* Fixed an issue when WKHTMLTOPDF_CMD consists of many parts.
* Fixed the local file paths so it works on Windows.


1.1
---

* Removed override_settings code for rewriting the STATIC and MEDIA URLs as it
  was not suitable for production use. It has been replaced with a string
  replace for just now, but a proper HTML parser may be required in the future.
{'fraction_non_alphanumeric': 0.08967551622418879, 'fraction_numerical': 0.008259587020648967, 'mean_word_length': 3.8735632183908044, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6904945', 'n_tokens_mistral': 487, 'n_tokens_neox': 460, 'n_words': 238}