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:
@@ -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 = {
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
from django.conf import settings
|
||||
from django.test import TestCase
|
||||
from django.test.utils import override_settings
|
||||
|
||||
|
||||
Reference in New Issue
Block a user