Changeset 7528 for django/branches/0.95-bugfixes
- Timestamp:
- 05/13/08 23:07:15 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/0.95-bugfixes/django/contrib/admin/views/decorators.py
r3360 r7528 4 4 from django.contrib.auth import authenticate, login 5 5 from django.shortcuts import render_to_response 6 from django.utils.html import escape 6 7 from django.utils.translation import gettext_lazy 7 8 import base64, datetime, md5 … … 23 24 return render_to_response('admin/login.html', { 24 25 'title': _('Log in'), 25 'app_path': request.path,26 'app_path': escape(request.path), 26 27 'post_data': post_data, 27 28 'error_message': error_message
