Ticket #9143: comments-unusedimports.diff
File comments-unusedimports.diff, 2.3 KB (added by , 16 years ago) |
---|
-
django/contrib/comments/admin.py
1 1 from django.contrib import admin 2 from django.conf import settings3 2 from django.contrib.comments.models import Comment 4 3 from django.utils.translation import ugettext_lazy as _ 5 4 -
django/contrib/comments/managers.py
1 1 from django.db import models 2 from django.dispatch import dispatcher3 2 from django.contrib.contenttypes.models import ContentType 4 3 from django.utils.encoding import force_unicode 5 4 -
django/contrib/comments/urls.py
1 1 from django.conf.urls.defaults import * 2 from django.conf import settings3 2 4 3 urlpatterns = patterns('django.contrib.comments.views', 5 4 url(r'^post/$', 'comments.post_comment', name='comments-post-comment'), -
django/contrib/comments/views/utils.py
9 9 from django.shortcuts import render_to_response 10 10 from django.template import RequestContext 11 11 from django.core.exceptions import ObjectDoesNotExist 12 from django.conf import settings13 12 from django.contrib import comments 14 13 15 14 def next_redirect(data, default, default_view, **get_kwargs): -
django/contrib/comments/forms.py
1 import re2 1 import time 3 2 import datetime 4 3 5 4 from django import forms 6 5 from django.forms.util import ErrorDict 7 6 from django.conf import settings 8 from django.http import Http4049 7 from django.contrib.contenttypes.models import ContentType 10 8 from models import Comment 11 9 from django.utils.encoding import force_unicode