pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-django Fix a CSS issue in the login page of the...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2499bd711bba
branches: trunk
changeset: 542511:2499bd711bba
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue May 20 13:46:49 2008 +0000
description:
Fix a CSS issue in the login page of the admin module. Bump revision.
diffstat:
www/py-django/Makefile | 3 ++-
www/py-django/distinfo | 3 ++-
www/py-django/patches/patch-aa | 20 ++++++++++++++++++++
3 files changed, 24 insertions(+), 2 deletions(-)
diffs (48 lines):
diff -r 8f9d8f8a10d5 -r 2499bd711bba www/py-django/Makefile
--- a/www/py-django/Makefile Tue May 20 13:42:19 2008 +0000
+++ b/www/py-django/Makefile Tue May 20 13:46:49 2008 +0000
@@ -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 -r 8f9d8f8a10d5 -r 2499bd711bba www/py-django/distinfo
--- a/www/py-django/distinfo Tue May 20 13:42:19 2008 +0000
+++ b/www/py-django/distinfo Tue May 20 13:46:49 2008 +0000
@@ -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 -r 8f9d8f8a10d5 -r 2499bd711bba www/py-django/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-django/patches/patch-aa Tue May 20 13:46:49 2008 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index