Ticket #7846: unused.imports.contrib.diff
File unused.imports.contrib.diff, 8.8 KB (added by , 16 years ago) |
---|
-
django/django/contrib/formtools/tests.py
1 1 from django import forms 2 2 from django.contrib.formtools import preview 3 3 from django import http 4 from django.conf import settings5 4 from django.test import TestCase 6 5 7 6 success_string = "Done was called!" -
django/django/contrib/syndication/feeds.py
1 1 from django.core.exceptions import ImproperlyConfigured, ObjectDoesNotExist 2 from django.template import Context,loader, Template, TemplateDoesNotExist2 from django.template import loader, Template, TemplateDoesNotExist 3 3 from django.contrib.sites.models import Site, RequestSite 4 4 from django.utils import feedgenerator 5 5 from django.utils.encoding import smart_unicode, iri_to_uri -
django/django/contrib/admin/options.py
1 from django import oldforms,template1 from django import template 2 2 from django import forms 3 3 from django.forms.formsets import all_valid 4 4 from django.forms.models import modelform_factory, inlineformset_factory -
django/django/contrib/admin/views/main.py
6 6 from django.db.models.query import QuerySet 7 7 from django.utils.encoding import force_unicode, smart_str 8 8 from django.utils.translation import ugettext 9 from django.utils.safestring import mark_safe10 9 from django.utils.http import urlencode 11 10 import operator 12 11 -
django/django/contrib/admin/widgets.py
7 7 from django import forms 8 8 from django.forms.widgets import RadioFieldRenderer 9 9 from django.forms.util import flatatt 10 from django.utils.datastructures import MultiValueDict 11 from django.utils.text import capfirst, truncate_words 10 from django.utils.text import truncate_words 12 11 from django.utils.translation import ugettext as _ 13 12 from django.utils.safestring import mark_safe 14 13 from django.utils.encoding import force_unicode -
django/django/contrib/databrowse/plugins/calendars.py
4 4 from django.contrib.databrowse.sites import DatabrowsePlugin 5 5 from django.shortcuts import render_to_response 6 6 from django.utils.text import capfirst 7 from django.utils.translation import get_date_formats8 7 from django.utils.encoding import force_unicode 9 8 from django.utils.safestring import mark_safe 10 9 from django.views.generic import date_based -
django/django/contrib/databrowse/plugins/fieldchoices.py
6 6 from django.utils.text import capfirst 7 7 from django.utils.encoding import smart_str, force_unicode 8 8 from django.utils.safestring import mark_safe 9 from django.views.generic import date_based10 9 import urllib 11 10 12 11 class FieldChoicePlugin(DatabrowsePlugin): -
django/django/contrib/databrowse/views.py
1 from django.db.models import FieldDoesNotExist, DateTimeField2 1 from django.http import Http404 3 2 from django.shortcuts import render_to_response 4 from django.contrib.databrowse.datastructures import EasyModel, EasyChoice5 3 6 4 ########### 7 5 # CHOICES # -
django/django/contrib/databrowse/sites.py
1 1 from django import http 2 2 from django.db import models 3 from django.contrib.databrowse.datastructures import EasyModel , EasyChoice3 from django.contrib.databrowse.datastructures import EasyModel 4 4 from django.shortcuts import render_to_response 5 5 from django.utils.safestring import mark_safe 6 6 -
django/django/contrib/auth/admin.py
1 1 from django.contrib.auth.models import User, Group 2 2 from django.core.exceptions import PermissionDenied 3 from django import oldforms,template3 from django import template 4 4 from django.shortcuts import render_to_response 5 5 from django.http import HttpResponseRedirect 6 6 from django.utils.translation import ugettext, ugettext_lazy as _ -
django/django/contrib/auth/management/commands/createsuperuser.py
7 7 import re 8 8 import sys 9 9 from optparse import make_option 10 from django.contrib.auth.models import User , UNUSABLE_PASSWORD10 from django.contrib.auth.models import User 11 11 from django.core import validators 12 12 from django.core.management.base import BaseCommand, CommandError 13 13 -
django/django/contrib/auth/decorators.py
1 1 try: 2 2 from functools import wraps, update_wrapper 3 3 except 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. 5 5 6 6 from django.contrib.auth import REDIRECT_FIELD_NAME 7 7 from django.http import HttpResponseRedirect -
django/django/contrib/auth/forms.py
2 2 from django.contrib.auth import authenticate 3 3 from django.contrib.sites.models import Site 4 4 from django.template import Context, loader 5 from django.core import validators6 5 from django import forms 7 6 from django.utils.translation import ugettext_lazy as _ 8 7 -
django/django/contrib/admindocs/views.py
5 5 from django.db import models 6 6 from django.shortcuts import render_to_response 7 7 from django.core.exceptions import ImproperlyConfigured, ViewDoesNotExist 8 from django.http import Http404 , get_host8 from django.http import Http404 9 9 from django.core import urlresolvers 10 10 from django.contrib.admindocs import utils 11 11 from django.contrib.sites.models import Site -
django/django/contrib/sessions/backends/cache.py
1 from django.conf import settings2 1 from django.contrib.sessions.backends.base import SessionBase 3 2 from django.core.cache import cache 4 3 -
django/django/contrib/sessions/backends/db.py
1 1 import datetime 2 2 3 from django.conf import settings4 3 from django.contrib.sessions.models import Session 5 4 from django.contrib.sessions.backends.base import SessionBase 6 5 from django.core.exceptions import SuspiciousOperation