Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove unused imports.

  • Loading branch information...
commit 9f5fa8d149e3abcd26a1d7ecba284d8c01a5e88b 1 parent 8169080
@aaugustin aaugustin authored
View
3  aggregator/forms.py
@@ -1,8 +1,7 @@
from __future__ import absolute_import
from django import forms
-from django.forms import widgets
-from .models import Feed, FeedType
+from .models import Feed
class FeedModelForm(forms.ModelForm):
title = forms.CharField(max_length=250,
View
6 aggregator/views.py
@@ -1,12 +1,8 @@
from __future__ import absolute_import
-import logging
-from django.shortcuts import render, render_to_response, get_object_or_404, redirect
-from django.template import RequestContext
+from django.shortcuts import render, get_object_or_404, redirect
from django.contrib import messages
from django.contrib.auth.decorators import login_required
-from django.http import HttpResponseRedirect
-from django.core.urlresolvers import reverse
from django.views.generic.list_detail import object_list
from .models import FeedItem, Feed, FeedType, APPROVED_FEED
View
1  contact/forms.py
@@ -1,4 +1,3 @@
-import textwrap
from django import forms
from contact_form.forms import AkismetContactForm
View
1  django_website/sitemaps.py
@@ -1,6 +1,5 @@
from __future__ import absolute_import
-import datetime
from django.contrib.sitemaps import Sitemap
from django.contrib.flatpages.models import FlatPage
View
1  django_www/urls.py
@@ -1,6 +1,5 @@
from __future__ import absolute_import
-from django.conf import settings
from django.conf.urls import patterns, include, url
from django.contrib import admin
from django.contrib.flatpages.views import flatpage
View
3  docs/search_indexes.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8-*-
import json
-from django.conf import settings
from django.utils.html import strip_tags
import haystack
import haystack.indexes
@@ -25,4 +24,4 @@ def prepare_text(self, obj):
doc = json.load(fp)
return strip_tags(doc['body']).replace(u'', '')
-haystack.site.register(Document, DocumentIndex)
+haystack.site.register(Document, DocumentIndex)
Please sign in to comment.
Something went wrong with that request. Please try again.