mirror of
https://github.com/django/django.git
synced 2025-06-29 23:39:12 +00:00
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.parts.auth.formfields import AuthenticationForm
|
||||||
from django.core import formfields
|
from django.core import formfields
|
||||||
from django.core.extensions import DjangoContext, render_to_response
|
from django.core.extensions import DjangoContext, render_to_response
|
||||||
from django.models.auth import SESSION_KEY
|
from django.contrib.auth.models import SESSION_KEY
|
||||||
from django.models.core import Site
|
from django.contrib.sites.models import Site
|
||||||
from django.utils.httpwrappers import HttpResponse, HttpResponseRedirect
|
from django.utils.httpwrappers import HttpResponse, HttpResponseRedirect
|
||||||
|
|
||||||
REDIRECT_FIELD_NAME = 'next'
|
REDIRECT_FIELD_NAME = 'next'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user