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
This commit is contained in:
parent
67a3f9d0c5
commit
3215cc769b
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue