diff options
author | Claude Paroz <claude@2xlibre.net> | 2016-11-19 18:19:41 +0100 |
---|---|---|
committer | Claude Paroz <claude@2xlibre.net> | 2017-01-18 09:55:19 +0100 |
commit | d7b9aaa366dd54ecc3142c588162e3adc7c2f7ac (patch) | |
tree | c7faf11a6f6c14981a08a621c36e6f736b21dd8b /tests/custom_pk | |
parent | 397b3705c5f762b359cdb494f9447c8a60685adf (diff) | |
download | django-d7b9aaa366dd54ecc3142c588162e3adc7c2f7ac.tar.gz |
Refs #23919 -- Removed encoding preambles and future imports
Diffstat (limited to 'tests/custom_pk')
-rw-r--r-- | tests/custom_pk/models.py | 3 | ||||
-rw-r--r-- | tests/custom_pk/tests.py | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/tests/custom_pk/models.py b/tests/custom_pk/models.py index 20b484c426..e0a318468c 100644 --- a/tests/custom_pk/models.py +++ b/tests/custom_pk/models.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ Using a custom primary key @@ -6,8 +5,6 @@ By default, Django adds an ``"id"`` field to each model. But you can override this behavior by explicitly adding ``primary_key=True`` to a field. """ -from __future__ import unicode_literals - from django.db import models from django.utils.encoding import python_2_unicode_compatible diff --git a/tests/custom_pk/tests.py b/tests/custom_pk/tests.py index fdcbd80e04..01150a46d2 100644 --- a/tests/custom_pk/tests.py +++ b/tests/custom_pk/tests.py @@ -1,6 +1,3 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - from django.db import IntegrityError, transaction from django.test import TestCase, skipIfDBFeature from django.utils import six |