From: Alex Kamedov Date: Thu, 7 Apr 2011 06:11:27 +0000 (+0600) Subject: remove unused imports X-Git-Tag: 22.4~32^2~23 X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/commitdiff_plain/3e3322506beb1dc6f1e4a2b5343c81fbf7e77a17 remove unused imports --- diff --git a/cas_provider/forms.py b/cas_provider/forms.py index 8a8226b..80b8913 100644 --- a/cas_provider/forms.py +++ b/cas_provider/forms.py @@ -1,6 +1,4 @@ from django import forms -from django.contrib.auth.forms import AuthenticationForm -from django.contrib.auth import authenticate from django.utils.translation import ugettext_lazy as _ from utils import create_login_ticket diff --git a/cas_provider/management/commands/cleanuptickets.py b/cas_provider/management/commands/cleanuptickets.py index 772fdcb..401bec1 100644 --- a/cas_provider/management/commands/cleanuptickets.py +++ b/cas_provider/management/commands/cleanuptickets.py @@ -8,7 +8,6 @@ contains the actual logic for determining which accounts are deleted. """ from django.core.management.base import NoArgsCommand -from django.core.management.base import CommandError from django.conf import settings import datetime diff --git a/cas_provider/views.py b/cas_provider/views.py index 50e075e..5343232 100644 --- a/cas_provider/views.py +++ b/cas_provider/views.py @@ -1,7 +1,6 @@ -from django.http import HttpResponse, HttpResponseForbidden, HttpResponseRedirect +from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import render_to_response from django.template import RequestContext -from django.contrib.auth.models import User from django.contrib.auth import authenticate from django.contrib.auth import login as auth_login, logout as auth_logout from django.utils.translation import ugettext_lazy as _