diff options
| author | Jannis Leidel <jannis@leidel.info> | 2011-07-13 09:35:51 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2011-07-13 09:35:51 +0000 |
| commit | 24f4764a48e4141923a78c8820e4cd7b411ec0fc (patch) | |
| tree | eed2e98eb3aad1e10c7fda902bc8b875e19929e2 /tests/modeltests/basic | |
| parent | 956da729d19d619c210a2466d4435d4967249e7f (diff) | |
Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
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 |
