1. 06 Jan, 2012 1 commit
    • Fixing an issue when for files which contain unicode data · 08bf1b19
      The django.core.files.base module uses the cStringIO package where available. However, unlike StringIO, cStringIO does not support unicode data, and the result is additional null bytes being entered into the output file.
      
      The trick seems to be to convert the data into a byte string before passing it into ContentFile, which I do here using Django's smart_str() utility.
      
      Signed-off-by: Timothée Peignier <timothee.peignier@tryphon.org>
      Adam Charnock committed
  2. 23 Dec, 2011 1 commit
  3. 15 Dec, 2011 4 commits
  4. 14 Dec, 2011 2 commits
  5. 11 Dec, 2011 3 commits
  6. 06 Dec, 2011 7 commits
  7. 05 Dec, 2011 1 commit
  8. 02 Dec, 2011 2 commits
  9. 29 Nov, 2011 2 commits
  10. 22 Nov, 2011 2 commits
  11. 19 Nov, 2011 2 commits
  12. 14 Nov, 2011 1 commit
    • Don't attempt to compress CSS or JS if the compressor class is empty. · 3fcd7a79
      The CSS and JS compressors can be turned off individually by specifying
      either None or an empty string as the value for either
      PIPELINE_CSS_COMPRESSOR or PIPELINE_JS_COMPRESSOR.
      
      This is useful when you want to conditionally disable a compressor based
      on what's available locally, or when a byproduct of a compiler is to
      compress the content.
      
      Signed-off-by: Timothée Peignier <timothee.peignier@tryphon.org>
      Christian Hammond committed
  13. 03 Nov, 2011 3 commits
  14. 28 Oct, 2011 2 commits
  15. 27 Oct, 2011 1 commit
  16. 22 Oct, 2011 3 commits
  17. 20 Oct, 2011 1 commit
  18. 18 Oct, 2011 2 commits