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:44:31 -0500 |
| commit | bebc1e53a3ab059849e5c4e5a55b2f5e68b67169 (patch) | |
| tree | dd6cca90196a0a09817cab9ba50eedd899ff062b /django/utils/_os.py | |
| parent | ad50b6c853f4a6c864219fbd38b4254ffaef7b1c (diff) | |
Refs #24324 -- Fixed UnicodeDecodeError in template_backends tests
The message for the SuspiciousFileOperation exception needs to
be a unicode string.
Diffstat (limited to 'django/utils/_os.py')
| -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 |
