From 3e3322506beb1dc6f1e4a2b5343c81fbf7e77a17 Mon Sep 17 00:00:00 2001 From: Alex Kamedov Date: Thu, 7 Apr 2011 12:11:27 +0600 Subject: [PATCH] remove unused imports --- cas_provider/forms.py | 2 -- cas_provider/management/commands/cleanuptickets.py | 1 - cas_provider/views.py | 3 +-- 3 files changed, 1 insertion(+), 5 deletions(-) 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 _ -- 2.20.1