Changeset 7639
- Timestamp:
- 06/15/08 13:42:15 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/newforms-admin/django/contrib/auth/views.py
r7610 r7639 11 11 from django.utils.translation import ugettext as _ 12 12 from django.contrib.auth.models import User 13 import re 13 14 14 15 def login(request, template_name='registration/login.html', redirect_field_name=REDIRECT_FIELD_NAME): … … 125 126 'save_as': False, 126 127 'show_save': True, 128 'root_path': re.sub('auth/user/(\d+)/password/$', '', request.path), 127 129 }, context_instance=RequestContext(request))
