pylint: remove unused imports

This commit is contained in:
Frédéric Péters 2016-06-01 00:09:35 +02:00
parent a740819bbd
commit 86b65610bb
10 changed files with 4 additions and 12 deletions

View File

@ -14,7 +14,6 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
from combo.data.models import CellBase

View File

@ -18,7 +18,7 @@
from django.views.generic import FormView, TemplateView
from django.utils.translation import ugettext_lazy as _
from django.utils.http import urlencode
from django.http import HttpResponse, HttpResponseRedirect
from django.http import HttpResponseRedirect
from django.contrib import messages
from .forms import FamilyLinkForm

View File

@ -15,8 +15,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from django.conf import settings
from django.db import models
from django.utils.http import urlencode
from django.utils.translation import ugettext_lazy as _
from combo.data.models import CellBase

View File

@ -15,7 +15,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from django.core.urlresolvers import reverse_lazy
from django.http import HttpResponseRedirect
from django.views.generic import (CreateView, UpdateView, ListView,
DeleteView, TemplateView)

View File

@ -14,11 +14,9 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from django.conf import settings
from django.contrib import messages
from django.core.urlresolvers import reverse
from django.http import HttpResponseRedirect
from django.utils.translation import ugettext as _
from django.views.generic import TemplateView, UpdateView
from .models import MomoOptions

View File

@ -1,5 +1,5 @@
from django.contrib.auth.decorators import login_required
from django.conf.urls import patterns, url, include
from django.conf.urls import patterns, url
from .views import NewslettersView

View File

@ -15,7 +15,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from django import forms
from django.utils.datastructures import MultiValueDict, MergeDict
from django.utils.datastructures import MultiValueDict
from django.utils.safestring import mark_safe
from .models import WcsFormCell, WcsCategoryCell, WcsFormsOfCategoryCell

View File

@ -15,7 +15,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
class DataConfig(AppConfig):
name = 'combo.data'

View File

@ -19,7 +19,7 @@ from __future__ import absolute_import
import datetime
from django import template
from django.template import Context, RequestContext
from django.template import RequestContext
from django.template.base import TOKEN_BLOCK, TOKEN_VAR
from combo.public.menu import get_menu_context

View File

@ -24,7 +24,6 @@ import random
from StringIO import StringIO
import urlparse
from requests import Response, Session as RequestsSession
import requests
from django.core.cache import cache
from django.utils.html import strip_tags