1
0
mirror of https://github.com/django/django.git synced 2025-10-26 15:16:09 +00:00

Revert [4485] in order to fix accidental mod_python breakage. Refs #2920.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4486 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick
2007-02-11 23:50:35 +00:00
parent 0e924c70b1
commit 6c4757729b
20 changed files with 21 additions and 33 deletions

View File

@@ -7,7 +7,6 @@ from django.contrib.sites.models import Site
from django.http import HttpResponseRedirect
from django.contrib.auth.decorators import login_required
from django.contrib.auth import LOGIN_URL, REDIRECT_FIELD_NAME
from django.utils.translation import gettext as _
def login(request, template_name='registration/login.html'):
"Displays the login form and handles the login action."