diff options
| author | Tim Graham <timograham@gmail.com> | 2015-02-16 08:25:53 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-17 18:45:07 -0500 |
| commit | f9a99c410e4ccc2ca89fc6006c48a23b02bae873 (patch) | |
| tree | c9e96534fb41bdb100bc771f1ca467d0440eaa3e | |
| parent | ec9119d4ecda241342678b1fe7ae2beb26e1040f (diff) | |
[1.8.x] Refs #24324 -- Fixed UnicodeDecodeError in template_backends tests
The message for the SuspiciousFileOperation exception needs to
be a unicode string.
Backport of bebc1e53a3ab059849e5c4e5a55b2f5e68b67169 from master
| -rw-r--r-- | django/utils/_os.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/django/utils/_os.py b/django/utils/_os.py index 679b206e18..f5efeab80f 100644 --- a/django/utils/_os.py +++ b/django/utils/_os.py @@ -1,3 +1,5 @@ +from __future__ import unicode_literals + import os import stat import sys |
