diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/py-django/Makefile | 3 | ||||
-rw-r--r-- | www/py-django/distinfo | 3 | ||||
-rw-r--r-- | www/py-django/patches/patch-aa | 20 |
3 files changed, 24 insertions, 2 deletions
diff --git a/www/py-django/Makefile b/www/py-django/Makefile index 83c879a253e..08241de1fb6 100644 --- a/www/py-django/Makefile +++ b/www/py-django/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.10 2008/04/25 20:39:13 joerg Exp $ +# $NetBSD: Makefile,v 1.11 2008/05/20 13:46:49 joerg Exp $ DISTNAME= Django-0.96.1 PKGNAME= ${PYPKGPREFIX}-django-0.96.1 +PKGREVISION= 1 CATEGORIES= www python MASTER_SITES= http://media.djangoproject.com/releases/0.96/ diff --git a/www/py-django/distinfo b/www/py-django/distinfo index 2ef6424db13..353563fe2e7 100644 --- a/www/py-django/distinfo +++ b/www/py-django/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.5 2007/11/01 21:24:02 joerg Exp $ +$NetBSD: distinfo,v 1.6 2008/05/20 13:46:49 joerg Exp $ SHA1 (Django-0.96.1.tar.gz) = 85270f857ff405983cae9a1ef76dfb3303ca6eec RMD160 (Django-0.96.1.tar.gz) = 1bd8fcceab101f80560bb4aa8a4851c204f3918b Size (Django-0.96.1.tar.gz) = 1746455 bytes +SHA1 (patch-aa) = a2dea2b0f9ea6aaa397293688ea3a07d890e8246 diff --git a/www/py-django/patches/patch-aa b/www/py-django/patches/patch-aa new file mode 100644 index 00000000000..5979ee79db2 --- /dev/null +++ b/www/py-django/patches/patch-aa @@ -0,0 +1,20 @@ +$NetBSD: patch-aa,v 1.3 2008/05/20 13:46:49 joerg Exp $ + +--- django/contrib/admin/views/decorators.py.orig 2007-10-26 21:21:34.000000000 +0200 ++++ django/contrib/admin/views/decorators.py +@@ -3,6 +3,7 @@ from django.conf import settings + from django.contrib.auth.models import User + from django.contrib.auth import authenticate, login + from django.shortcuts import render_to_response ++from django.utils.html import escape + from django.utils.translation import gettext_lazy + import base64, datetime, md5 + import cPickle as pickle +@@ -22,6 +23,7 @@ def _display_login_form(request, error_m + post_data = _encode_post_data({}) + return render_to_response('admin/login.html', { + 'title': _('Log in'), ++ 'app_path': escape(request.path), + 'app_path': request.path, + 'post_data': post_data, + 'error_message': error_message |