diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/files/file.txt | 1 | ||||
| -rw-r--r-- | docs/ref/migration-operations.txt | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/docs/ref/files/file.txt b/docs/ref/files/file.txt index 6c218e38b3..4169b74b88 100644 --- a/docs/ref/files/file.txt +++ b/docs/ref/files/file.txt @@ -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") diff --git a/docs/ref/migration-operations.txt b/docs/ref/migration-operations.txt index 7e5f4d4784..e6e6f73a99 100644 --- a/docs/ref/migration-operations.txt +++ b/docs/ref/migration-operations.txt @@ -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): |
