diff --git a/django/conf/app_template/models.py b/django/conf/app_template/models.py
index 71a8362..7a54b3e 100644
a
|
b
|
|
1 | | from django.db import models |
| 1 | {{ unicode_literals }}from django.db import models |
2 | 2 | |
3 | 3 | # Create your models here. |
diff --git a/django/core/management/templates.py b/django/core/management/templates.py
index eb5340d..cea5e09 100644
a
|
b
|
import django
|
14 | 14 | from django.core.management.base import BaseCommand, CommandError |
15 | 15 | from django.core.management.utils import handle_extensions |
16 | 16 | from django.template import Context, Engine |
17 | | from django.utils import archive |
| 17 | from django.utils import archive, six |
18 | 18 | from django.utils.six.moves.urllib.request import urlretrieve |
19 | 19 | from django.utils.version import get_docs_version |
20 | 20 | |
… |
… |
class TemplateCommand(BaseCommand):
|
104 | 104 | base_directory: top_dir, |
105 | 105 | 'docs_version': get_docs_version(), |
106 | 106 | 'django_version': django.__version__, |
| 107 | 'unicode_literals': '' if six.PY3 else 'from __future__ import unicode_literals\n\n' |
107 | 108 | }), autoescape=False) |
108 | 109 | |
109 | 110 | # Setup a stub settings environment for template rendering |