diff options
Diffstat (limited to 'tests/modeltests/basic')
| -rw-r--r-- | tests/modeltests/basic/models.py | 2 | ||||
| -rw-r--r-- | tests/modeltests/basic/tests.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/modeltests/basic/models.py b/tests/modeltests/basic/models.py index 5f51fd8e11..26fddf0706 100644 --- a/tests/modeltests/basic/models.py +++ b/tests/modeltests/basic/models.py @@ -4,7 +4,7 @@ This is a basic model with only two non-primary-key fields. """ -from django.db import models, DEFAULT_DB_ALIAS, connection +from django.db import models class Article(models.Model): headline = models.CharField(max_length=100, default='Default headline') diff --git a/tests/modeltests/basic/tests.py b/tests/modeltests/basic/tests.py index 966798d78b..ff09d9b5a1 100644 --- a/tests/modeltests/basic/tests.py +++ b/tests/modeltests/basic/tests.py @@ -1,7 +1,6 @@ from datetime import datetime from django.core.exceptions import ObjectDoesNotExist -from django.db import models, DEFAULT_DB_ALIAS, connection from django.db.models.fields import FieldDoesNotExist from django.test import TestCase, skipIfDBFeature, skipUnlessDBFeature |
