Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove unused imports.

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

0 notes on commit 9f5fa8d

Please sign in to comment.
Something went wrong with that request. Please try again.