Refs #23919 -- Removed encoding preambles and future imports

This commit is contained in:
Claude Paroz 2016-11-19 18:19:41 +01:00
parent 397b3705c5
commit d7b9aaa366
831 changed files with 6 additions and 2066 deletions

View file

@ -111,7 +111,6 @@ The ``ContentFile`` class
but unlike :class:`~django.core.files.File` it operates on string content
(bytes also supported), rather than an actual file. For example::
from __future__ import unicode_literals
from django.core.files.base import ContentFile
f1 = ContentFile("esta sentencia está en español")

View file

@ -310,9 +310,6 @@ class in the migration file, and just pass it to ``RunPython``. Here's an
example of using ``RunPython`` to create some initial objects on a ``Country``
model::
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
def forwards_func(apps, schema_editor):