Ticket #7846: unused.imports.contrib.diff

File unused.imports.contrib.diff, 8.8 KB (added by julien, 7 years ago)
  • django/django/contrib/formtools/tests.py

     
    11from django import forms
    22from django.contrib.formtools import preview
    33from django import http
    4 from django.conf import settings
    54from django.test import TestCase
    65
    76success_string = "Done was called!"
  • django/django/contrib/syndication/feeds.py

     
    11from django.core.exceptions import ImproperlyConfigured, ObjectDoesNotExist
    2 from django.template import Context, loader, Template, TemplateDoesNotExist
     2from django.template import loader, Template, TemplateDoesNotExist
    33from django.contrib.sites.models import Site, RequestSite
    44from django.utils import feedgenerator
    55from django.utils.encoding import smart_unicode, iri_to_uri
  • django/django/contrib/admin/options.py

     
    1 from django import oldforms, template
     1from django import template
    22from django import forms
    33from django.forms.formsets import all_valid
    44from django.forms.models import modelform_factory, inlineformset_factory
  • django/django/contrib/admin/views/main.py

     
    66from django.db.models.query import QuerySet
    77from django.utils.encoding import force_unicode, smart_str
    88from django.utils.translation import ugettext
    9 from django.utils.safestring import mark_safe
    109from django.utils.http import urlencode
    1110import operator
    1211
  • django/django/contrib/admin/widgets.py

     
    77from django import forms
    88from django.forms.widgets import RadioFieldRenderer
    99from django.forms.util import flatatt
    10 from django.utils.datastructures import MultiValueDict
    11 from django.utils.text import capfirst, truncate_words
     10from django.utils.text import truncate_words
    1211from django.utils.translation import ugettext as _
    1312from django.utils.safestring import mark_safe
    1413from django.utils.encoding import force_unicode
  • django/django/contrib/databrowse/plugins/calendars.py

     
    44from django.contrib.databrowse.sites import DatabrowsePlugin
    55from django.shortcuts import render_to_response
    66from django.utils.text import capfirst
    7 from django.utils.translation import get_date_formats
    87from django.utils.encoding import force_unicode
    98from django.utils.safestring import mark_safe
    109from django.views.generic import date_based
  • django/django/contrib/databrowse/plugins/fieldchoices.py

     
    66from django.utils.text import capfirst
    77from django.utils.encoding import smart_str, force_unicode
    88from django.utils.safestring import mark_safe
    9 from django.views.generic import date_based
    109import urllib
    1110
    1211class FieldChoicePlugin(DatabrowsePlugin):
  • django/django/contrib/databrowse/views.py

     
    1 from django.db.models import FieldDoesNotExist, DateTimeField
    21from django.http import Http404
    32from django.shortcuts import render_to_response
    4 from django.contrib.databrowse.datastructures import EasyModel, EasyChoice
    53
    64###########
    75# CHOICES #
  • django/django/contrib/databrowse/sites.py

     
    11from django import http
    22from django.db import models
    3 from django.contrib.databrowse.datastructures import EasyModel, EasyChoice
     3from django.contrib.databrowse.datastructures import EasyModel
    44from django.shortcuts import render_to_response
    55from django.utils.safestring import mark_safe
    66
  • django/django/contrib/auth/admin.py

     
    11from django.contrib.auth.models import User, Group
    22from django.core.exceptions import PermissionDenied
    3 from django import oldforms, template
     3from django import template
    44from django.shortcuts import render_to_response
    55from django.http import HttpResponseRedirect
    66from django.utils.translation import ugettext, ugettext_lazy as _
  • django/django/contrib/auth/management/commands/createsuperuser.py

     
    77import re
    88import sys
    99from optparse import make_option
    10 from django.contrib.auth.models import User, UNUSABLE_PASSWORD
     10from django.contrib.auth.models import User
    1111from django.core import validators
    1212from django.core.management.base import BaseCommand, CommandError
    1313
  • django/django/contrib/auth/decorators.py

     
    11try:
    22    from functools import wraps, update_wrapper
    33except ImportError:
    4     from django.utils.functional import wraps, update_wrapper  # Python 2.3, 2.4 fallback.
     4    from django.utils.functional import update_wrapper  # Python 2.3, 2.4 fallback.
    55
    66from django.contrib.auth import REDIRECT_FIELD_NAME
    77from django.http import HttpResponseRedirect
  • django/django/contrib/auth/forms.py

     
    22from django.contrib.auth import authenticate
    33from django.contrib.sites.models import Site
    44from django.template import Context, loader
    5 from django.core import validators
    65from django import forms
    76from django.utils.translation import ugettext_lazy as _
    87
  • django/django/contrib/admindocs/views.py

     
    55from django.db import models
    66from django.shortcuts import render_to_response
    77from django.core.exceptions import ImproperlyConfigured, ViewDoesNotExist
    8 from django.http import Http404, get_host
     8from django.http import Http404
    99from django.core import urlresolvers
    1010from django.contrib.admindocs import utils
    1111from django.contrib.sites.models import Site
  • django/django/contrib/sessions/backends/cache.py

     
    1 from django.conf import settings
    21from django.contrib.sessions.backends.base import SessionBase
    32from django.core.cache import cache
    43
  • django/django/contrib/sessions/backends/db.py

     
    11import datetime
    22
    3 from django.conf import settings
    43from django.contrib.sessions.models import Session
    54from django.contrib.sessions.backends.base import SessionBase
    65from django.core.exceptions import SuspiciousOperation
Back to Top