diff options
| author | Claude Paroz <claude@2xlibre.net> | 2013-10-14 20:24:57 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2013-10-14 21:28:29 +0200 |
| commit | ba9cf9596bb07d30614257a755f3e4fea426d2e2 (patch) | |
| tree | a5845b7a45c3b9db5770670ab4b50e5887891832 /django | |
| parent | 7f566fdb4c8453c8fa4b44d0fe5cc28472acc2ff (diff) | |
[1.6.x] Fixed #21269 -- Don't crash when CommandError contains non-ascii
Thanks kontakt@eikefoken.de for the report.
Backport of 42a67ec1cd from master.
Diffstat (limited to 'django')
| -rw-r--r-- | django/core/management/base.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/django/core/management/base.py b/django/core/management/base.py index af040288d0..74f3913836 100644 --- a/django/core/management/base.py +++ b/django/core/management/base.py @@ -3,6 +3,8 @@ Base classes for writing management commands (named commands which can be executed through ``django-admin.py`` or ``manage.py``). """ +from __future__ import unicode_literals + import os import sys |
