diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2008-06-19 14:38:56 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2008-06-19 14:38:56 +0000 |
| commit | 5d09d8769d7eb7fd8dffdf5c0705e25173c59006 (patch) | |
| tree | cc99931f0a25e35fe7d38c5b7fa796af01cfd454 /django/core/management/commands/sqlsequencereset.py | |
| parent | e726065d5d19bab23078c416513bc8cf9f40d20b (diff) | |
Fixed #6650 -- Added UTF-8 encoding to SQL output provided by management commands. Thanks to farcaller for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/core/management/commands/sqlsequencereset.py')
| -rw-r--r-- | django/core/management/commands/sqlsequencereset.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/management/commands/sqlsequencereset.py b/django/core/management/commands/sqlsequencereset.py index 6b12d83843..e8dad0bef6 100644 --- a/django/core/management/commands/sqlsequencereset.py +++ b/django/core/management/commands/sqlsequencereset.py @@ -6,4 +6,4 @@ class Command(AppCommand): def handle_app(self, app, **options): from django.db import connection, models - return '\n'.join(connection.ops.sequence_reset_sql(self.style, models.get_models(app))) + return u'\n'.join(connection.ops.sequence_reset_sql(self.style, models.get_models(app))).encode('utf-8') |
