diff options
author | Claude Paroz <claude@2xlibre.net> | 2013-07-29 19:19:04 +0200 |
---|---|---|
committer | Claude Paroz <claude@2xlibre.net> | 2013-07-29 20:28:13 +0200 |
commit | 5c1143910e071c73671424036408c4548742d24f (patch) | |
tree | 20c67bd23a8590657cd28699f17c1a52bda2cebf /tests/custom_pk | |
parent | 402b4a7a20a4f00fce0f01cdc3f5f97967fdb935 (diff) | |
download | django-5c1143910e071c73671424036408c4548742d24f.tar.gz |
Removed most of absolute_import imports
Should be unneeded with Python 2.7 and up.
Added some unicode_literals along the way.
Diffstat (limited to 'tests/custom_pk')
-rw-r--r-- | tests/custom_pk/models.py | 2 | ||||
-rw-r--r-- | tests/custom_pk/tests.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/custom_pk/models.py b/tests/custom_pk/models.py index 5ef9b69f0c..8d5065aed8 100644 --- a/tests/custom_pk/models.py +++ b/tests/custom_pk/models.py @@ -6,7 +6,7 @@ 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 absolute_import, unicode_literals +from __future__ import unicode_literals from django.db import models diff --git a/tests/custom_pk/tests.py b/tests/custom_pk/tests.py index 3f562f0bed..59bc64754f 100644 --- a/tests/custom_pk/tests.py +++ b/tests/custom_pk/tests.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import, unicode_literals +from __future__ import unicode_literals from django.db import transaction, IntegrityError from django.test import TestCase, skipIfDBFeature |