Fri Apr 8 16:20:18 2016 UTC ()
Changes 1.9.5:
Made MultiPartParser ignore filenames that normalize to an empty string to fix crash in MemoryFileUploadHandler on specially crafted user input.
Fixed a race condition in BaseCache.get_or_set(). It now returns the default value instead of False if there窶冱 an error when trying to add the value to the cache.
Fixed data loss on SQLite where DurationField values with fractional seconds could be saved as None.
The forms in contrib.auth no longer strip trailing and leading whitespace from the password fields. The change requires users who set their password to something with such whitespace after a site updated to Django 1.9 to reset their password. It provides backwards-compatibility for earlier versions of Django.
Fixed a memory leak in the cached template loader.
Fixed a regression that caused collectstatic --clear to fail if the storage doesn窶冲 implement path().
Fixed a crash when using a reverse lookup with a subquery when a ForeignKey has a to_field set to something other than the primary key.
Fixed a regression in CommonMiddleware that caused spurious warnings in logs on requests missing a trailing slash.
Restored the functionality of the admin窶冱 raw_id_fields in list_editable.
Fixed a regression with abstract model inheritance and explicit parent links.
Fixed a migrations crash on SQLite when renaming the primary key of a model containing a ForeignKey to 'self'.
Fixed JSONField inadvertently escaping its contents when displaying values after failed form validation.


(adam)
diff -r1.70 -r1.71 pkgsrc/www/py-django/Makefile
diff -r1.53 -r1.54 pkgsrc/www/py-django/distinfo

cvs diff -r1.70 -r1.71 pkgsrc/www/py-django/Makefile (expand / switch to unified diff)

--- pkgsrc/www/py-django/Makefile 2016/03/06 14:17:06 1.70
+++ pkgsrc/www/py-django/Makefile 2016/04/08 16:20:18 1.71
@@ -1,27 +1,25 @@ @@ -1,27 +1,25 @@
1# $NetBSD: Makefile,v 1.70 2016/03/06 14:17:06 adam Exp $ 1# $NetBSD: Makefile,v 1.71 2016/04/08 16:20:18 adam Exp $
2 2
3DISTNAME= Django-1.9.4 3DISTNAME= Django-1.9.5
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
5CATEGORIES= www python 5CATEGORIES= www python
6MASTER_SITES= http://www.djangoproject.com/m/releases/${PKGVERSION_NOREV:R}/ 6MASTER_SITES= http://www.djangoproject.com/m/releases/${PKGVERSION_NOREV:R}/
7 7
8MAINTAINER= joerg@NetBSD.org 8MAINTAINER= joerg@NetBSD.org
9HOMEPAGE= http://www.djangoproject.com/ 9HOMEPAGE= http://www.djangoproject.com/
10COMMENT= Django, a high-level Python Web framework 10COMMENT= Django, a high-level Python Web framework
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13PREV_PKGPATH= www/py-django-devel 
14 
15PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q} 13PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
16 14
17USE_LANGUAGES= # empty 15USE_LANGUAGES= # empty
18REPLACE_PYTHON= ${WRKSRC}/django/bin/django-admin.py 16REPLACE_PYTHON= ${WRKSRC}/django/bin/django-admin.py
19REPLACE_PYTHON+= ${WRKSRC}/django/conf/project_template/manage.py-tpl 17REPLACE_PYTHON+= ${WRKSRC}/django/conf/project_template/manage.py-tpl
20 18
21PYTHON_VERSIONED_DEPENDENCIES= flup 19PYTHON_VERSIONED_DEPENDENCIES= flup
22 20
23post-install: 21post-install:
24 ${MV} ${DESTDIR}${PREFIX}/bin/django-admin \ 22 ${MV} ${DESTDIR}${PREFIX}/bin/django-admin \
25 ${DESTDIR}${PREFIX}/bin/django-admin${PYVERSSUFFIX} 23 ${DESTDIR}${PREFIX}/bin/django-admin${PYVERSSUFFIX}
26 ${MV} ${DESTDIR}${PREFIX}/bin/django-admin.py \ 24 ${MV} ${DESTDIR}${PREFIX}/bin/django-admin.py \
27 ${DESTDIR}${PREFIX}/bin/django-admin${PYVERSSUFFIX}.py 25 ${DESTDIR}${PREFIX}/bin/django-admin${PYVERSSUFFIX}.py

cvs diff -r1.53 -r1.54 pkgsrc/www/py-django/distinfo (expand / switch to unified diff)

--- pkgsrc/www/py-django/distinfo 2016/03/06 14:17:06 1.53
+++ pkgsrc/www/py-django/distinfo 2016/04/08 16:20:18 1.54
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.53 2016/03/06 14:17:06 adam Exp $ 1$NetBSD: distinfo,v 1.54 2016/04/08 16:20:18 adam Exp $
2 2
3SHA1 (Django-1.9.4.tar.gz) = 30848b412df1f07b35ef280545900864d4d61cc7 3SHA1 (Django-1.9.5.tar.gz) = 76fd84704650dca90b9c5ee0f6b7ab1132dcb3f5
4RMD160 (Django-1.9.4.tar.gz) = 649f869ed0bbc456f89280a3bcb19a1b2d8f024f 4RMD160 (Django-1.9.5.tar.gz) = 788166c589251ef1d008dba732bb23ecf2c93696
5SHA512 (Django-1.9.4.tar.gz) = 04fad81a135d3a43f19b3a01dbb6c2f97081fc53b3935489c6a6f456cd8b71b091bebfa7da7c83efa87eb01ca06e0973fcd71beae4669ff0338cf42ee930f173 5SHA512 (Django-1.9.5.tar.gz) = 12ef1e3bc5fb5b9d30e92c2c5b91c68fc9b1bc88bd1428af53c34e1ed7f2899b69061405680a01b260f9aa2a4a316cc8f036bb27bfcbcb1ca785896b7e4e175b
6Size (Django-1.9.4.tar.gz) = 7426995 bytes 6Size (Django-1.9.5.tar.gz) = 7430219 bytes