This patch is a backport of Django's changeset 16520 [1] to the 1.3 release (or branch, for that matter). It fixes Django bug 16250 [2], in which psycopg2 2.4.2 made unit tests not work anymore (ie. running `python manage.py test [someapp]' never worked). The patch could be added only when postgresql support is chose in OPTIONS, however as the original commit upstream changes some other backends (oracle and sqlite3) as well as a base, common class, I thought it was better to always include it. As the upstream commit message says: This can be backwards incompatible in the case of user applications that: - Had started using this method - Use a third a party database backend [1] https://code.djangoproject.com/changeset/16520 [2] https://code.djangoproject.com/ticket/16250 Added file(s): - files/patch-changeset_16520.diff Port maintainer (lwhsu@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99
Responsible Changed From-To: freebsd-ports-bugs->lwhsu Over to maintainer (via the GNATS Auto Assign Tool)
lwhsu 2011-07-22 16:42:17 UTC FreeBSD ports repository Modified files: www/py-django Makefile Added files: www/py-django/files extra-patch-changeset_16520.diff Log: - Backport of changeset 16520 to fix unit tests with psycopg2 2.4.2 This change breaks backward compatibility, so only applying while POSTGRESQL option is enabled PR: ports/158996 Submitted by: Raphael Kubo da Costa <kubito@gmail.com> Revision Changes Path 1.40 +1 -0 ports/www/py-django/Makefile 1.1 +84 -0 ports/www/py-django/files/extra-patch-changeset_16520.diff (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, with minor changes. Thanks! This change breaks backward compatibility, so only applying while POSTGRESQL option is enabled.