1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #21302 -- Fixed unused imports and import *.

This commit is contained in:
Tim Graham
2013-10-18 07:25:30 -04:00
parent 9f76ea1eaa
commit 36ded01527
116 changed files with 248 additions and 181 deletions

View File

@@ -4,8 +4,7 @@ from __future__ import unicode_literals
from django.conf.urls import patterns, url
from django.views.generic import RedirectView
from . import views
from .models import Article, DateArticle, UrlArticle
from .models import Article, DateArticle
date_based_info_dict = {

View File

@@ -1,11 +1,10 @@
from __future__ import unicode_literals
from django.contrib.contenttypes.models import ContentType
from django.test import TestCase
from django.test.utils import (setup_test_template_loader,
restore_template_loaders, override_settings)
from ..models import Author, Article, UrlArticle
from ..models import UrlArticle
class DefaultsTests(TestCase):

View File

@@ -1,4 +1,3 @@
from django.conf import settings
from django.test import TestCase
from django.test.utils import override_settings