Ticket #9143: comments-unusedimports.diff

File comments-unusedimports.diff, 2.3 KB (added by Jarek Zgoda, 16 years ago)
  • django/contrib/comments/admin.py

     
    11from django.contrib import admin
    2 from django.conf import settings
    32from django.contrib.comments.models import Comment
    43from django.utils.translation import ugettext_lazy as _
    54
  • django/contrib/comments/managers.py

     
    11from django.db import models
    2 from django.dispatch import dispatcher
    32from django.contrib.contenttypes.models import ContentType
    43from django.utils.encoding import force_unicode
    54
  • django/contrib/comments/urls.py

     
    11from django.conf.urls.defaults import *
    2 from django.conf import settings
    32
    43urlpatterns = patterns('django.contrib.comments.views',
    54    url(r'^post/$',          'comments.post_comment',       name='comments-post-comment'),
  • django/contrib/comments/views/utils.py

     
    99from django.shortcuts import render_to_response
    1010from django.template import RequestContext
    1111from django.core.exceptions import ObjectDoesNotExist
    12 from django.conf import settings
    1312from django.contrib import comments
    1413
    1514def next_redirect(data, default, default_view, **get_kwargs):
  • django/contrib/comments/forms.py

     
    1 import re
    21import time
    32import datetime
    43
    54from django import forms
    65from django.forms.util import ErrorDict
    76from django.conf import settings
    8 from django.http import Http404
    97from django.contrib.contenttypes.models import ContentType
    108from models import Comment
    119from django.utils.encoding import force_unicode
Back to Top