1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

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
This commit is contained in:
Jannis Leidel
2011-07-13 09:35:51 +00:00
parent 956da729d1
commit 24f4764a48
242 changed files with 308 additions and 485 deletions

View File

@@ -1,5 +1,3 @@
from __future__ import with_statement
from django import template
from django.utils.unittest import TestCase
from templatetags import custom

View File

@@ -14,12 +14,10 @@ import pkg_resources
import imp
import StringIO
import os.path
import warnings
from django.template import TemplateDoesNotExist, Context
from django.template.loaders.eggs import Loader as EggLoader
from django.template import loader
from django.test.utils import get_warnings_state, restore_warnings_state
from django.utils import unittest

View File

@@ -6,7 +6,7 @@ from django.utils import unittest
from django.test import RequestFactory, TestCase
from django.conf import settings
import django.template.context
from django.template import Template, Context, RequestContext
from django.template import Template, Context
from django.template.response import (TemplateResponse, SimpleTemplateResponse,
ContentNotRenderedError)

View File

@@ -1,4 +1,4 @@
from django.template.smartif import IfParser, Literal
from django.template.smartif import IfParser
from django.utils import unittest
class SmartIfTests(unittest.TestCase):

View File

@@ -15,12 +15,12 @@ import warnings
from urlparse import urljoin
from django import template
from django.template import base as template_base
from django.template import base as template_base, RequestContext
from django.core import urlresolvers
from django.template import loader
from django.template.loaders import app_directories, filesystem, cached
from django.test.utils import get_warnings_state, restore_warnings_state,\
setup_test_template_loader, restore_template_loaders
from django.test.utils import (get_warnings_state, restore_warnings_state,
setup_test_template_loader, restore_template_loaders)
from django.utils import unittest
from django.utils.formats import date_format
from django.utils.translation import activate, deactivate, ugettext as _