From 3215cc769b2f3a829904d618fbea8cce3871a63b Mon Sep 17 00:00:00 2001 From: Joseph Kocherhans Date: Mon, 9 Jan 2006 21:00:39 +0000 Subject: [PATCH] magic-removal: updated django.views.auth.login to reflect new location of sites and auth. git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1894 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/views/auth/login.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/views/auth/login.py b/django/views/auth/login.py index 4a356ff93f..01f09016c4 100644 --- a/django/views/auth/login.py +++ b/django/views/auth/login.py @@ -1,8 +1,8 @@ from django.parts.auth.formfields import AuthenticationForm from django.core import formfields from django.core.extensions import DjangoContext, render_to_response -from django.models.auth import SESSION_KEY -from django.models.core import Site +from django.contrib.auth.models import SESSION_KEY +from django.contrib.sites.models import Site from django.utils.httpwrappers import HttpResponse, HttpResponseRedirect REDIRECT_FIELD_NAME = 'next'