summaryrefslogtreecommitdiff
path: root/tests/modeltests/get_object_or_404
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2011-07-13 09:35:51 +0000
committerJannis Leidel <jannis@leidel.info>2011-07-13 09:35:51 +0000
commit24f4764a48e4141923a78c8820e4cd7b411ec0fc (patch)
treeeed2e98eb3aad1e10c7fda902bc8b875e19929e2 /tests/modeltests/get_object_or_404
parent956da729d19d619c210a2466d4435d4967249e7f (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/get_object_or_404')
-rw-r--r--tests/modeltests/get_object_or_404/models.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/modeltests/get_object_or_404/models.py b/tests/modeltests/get_object_or_404/models.py
index eb3cd8254d..f62dd0cf30 100644
--- a/tests/modeltests/get_object_or_404/models.py
+++ b/tests/modeltests/get_object_or_404/models.py
@@ -11,8 +11,6 @@ performing a ``filter()`` lookup and raising a ``Http404`` exception if a
"""
from django.db import models
-from django.http import Http404
-from django.shortcuts import get_object_or_404, get_list_or_404
class Author(models.Model):
name = models.CharField(max_length=50)