- 05 Feb, 2012 2 commits
-
-
Timothée Peignier committed
-
Timothée Peignier committed
-
- 02 Feb, 2012 3 commits
-
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Timothée Peignier committed
-
- 01 Feb, 2012 3 commits
-
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Signed-off-by: Timothée Peignier <timothee.peignier@tryphon.org>
Balazs KOSSOVICS committed
-
- 15 Jan, 2012 3 commits
-
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Timothée Peignier committed
-
- 14 Jan, 2012 2 commits
-
-
Timothée Peignier committed
-
Timothée Peignier committed
-
- 10 Jan, 2012 1 commit
-
-
Timothée Peignier committed
-
- 06 Jan, 2012 4 commits
-
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Timothée Peignier committed
-
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
-
- 23 Dec, 2011 3 commits
-
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Timothée Peignier committed
-
- 22 Dec, 2011 19 commits
-
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Timothée Peignier committed
-
Timothée Peignier committed
-