summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2014-05-15 19:41:55 +0200
committerClaude Paroz <claude@2xlibre.net>2014-05-15 19:58:41 +0200
commite520a73eeea6b185b719901ab9985ecef00e5664 (patch)
treeaabb1eec8506c7320b00346440b17d19f7116b0e /django
parent27aa85246a218b0999c7c9d227eed2afb08ed510 (diff)
Harmonized some PEP 0263 coding preambles
Diffstat (limited to 'django')
-rw-r--r--django/contrib/flatpages/tests/test_models.py2
-rw-r--r--django/contrib/gis/tests/layermap/tests.py2
-rw-r--r--django/core/checks/__init__.py2
-rw-r--r--django/core/management/commands/migrate.py2
-rw-r--r--django/core/management/commands/sqlmigrate.py2
-rw-r--r--django/db/migrations/writer.py2
6 files changed, 6 insertions, 6 deletions
diff --git a/django/contrib/flatpages/tests/test_models.py b/django/contrib/flatpages/tests/test_models.py
index af12c420e0..f091f3e0ea 100644
--- a/django/contrib/flatpages/tests/test_models.py
+++ b/django/contrib/flatpages/tests/test_models.py
@@ -1,4 +1,4 @@
-# coding: utf-8
+# -*- coding: utf-8 -*-
from __future__ import unicode_literals
diff --git a/django/contrib/gis/tests/layermap/tests.py b/django/contrib/gis/tests/layermap/tests.py
index df6f22c38a..ff00db3748 100644
--- a/django/contrib/gis/tests/layermap/tests.py
+++ b/django/contrib/gis/tests/layermap/tests.py
@@ -1,4 +1,4 @@
-# coding: utf-8
+# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from copy import copy
diff --git a/django/core/checks/__init__.py b/django/core/checks/__init__.py
index cd4d5cebea..0d2780abd3 100644
--- a/django/core/checks/__init__.py
+++ b/django/core/checks/__init__.py
@@ -1,4 +1,4 @@
-# -*- coding: utf8 -*-
+# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from .messages import (CheckMessage,
diff --git a/django/core/management/commands/migrate.py b/django/core/management/commands/migrate.py
index a48e10bed0..fffa1ebe6e 100644
--- a/django/core/management/commands/migrate.py
+++ b/django/core/management/commands/migrate.py
@@ -1,4 +1,4 @@
-# encoding: utf8
+# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from optparse import make_option
from collections import OrderedDict
diff --git a/django/core/management/commands/sqlmigrate.py b/django/core/management/commands/sqlmigrate.py
index e828733f2c..e8ced69c21 100644
--- a/django/core/management/commands/sqlmigrate.py
+++ b/django/core/management/commands/sqlmigrate.py
@@ -1,4 +1,4 @@
-# encoding: utf8
+# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from optparse import make_option
diff --git a/django/db/migrations/writer.py b/django/db/migrations/writer.py
index 0e2eeef85a..da6aed4308 100644
--- a/django/db/migrations/writer.py
+++ b/django/db/migrations/writer.py
@@ -304,7 +304,7 @@ class MigrationWriter(object):
MIGRATION_TEMPLATE = """\
-# encoding: utf8
+# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations