[Python-modules-commits] r21385 - in packages/python-django-localeurl/trunk/debian (3 files)
janos-guest at users.alioth.debian.org
janos-guest at users.alioth.debian.org
Mon Apr 23 16:26:44 UTC 2012
Date: Monday, April 23, 2012 @ 16:26:41
Author: janos-guest
Revision: 21385
Workaround for monkey-patching urlresolvers.reverse Django function. (Closes: #665908)
Added:
packages/python-django-localeurl/trunk/debian/patches/fix-monkey-patching-urlresolvers.reverse.patch
Modified:
packages/python-django-localeurl/trunk/debian/changelog
packages/python-django-localeurl/trunk/debian/patches/series
Modified: packages/python-django-localeurl/trunk/debian/changelog
===================================================================
--- packages/python-django-localeurl/trunk/debian/changelog 2012-04-23 15:41:17 UTC (rev 21384)
+++ packages/python-django-localeurl/trunk/debian/changelog 2012-04-23 16:26:41 UTC (rev 21385)
@@ -2,10 +2,13 @@
* Add patches/fix-tests-for-django-1.4.patch (Closes: #669484)
- Fix tests for Django 1.4.
+ * Add patches/fix-monkey-patching-urlresolvers.reverse.patch
+ (Closes: #665908)
+ - Workaround for monkey-patching urlresolvers.reverse Django function.
* Add DM-Upload-Allowed control field.
* Fix dep5 syntax.
- -- Janos Guljas <janos at resenje.org> Mon, 23 Apr 2012 17:00:40 +0200
+ -- Janos Guljas <janos at resenje.org> Mon, 23 Apr 2012 18:21:03 +0200
python-django-localeurl (1.5-1) unstable; urgency=low
Added: packages/python-django-localeurl/trunk/debian/patches/fix-monkey-patching-urlresolvers.reverse.patch
===================================================================
--- packages/python-django-localeurl/trunk/debian/patches/fix-monkey-patching-urlresolvers.reverse.patch (rev 0)
+++ packages/python-django-localeurl/trunk/debian/patches/fix-monkey-patching-urlresolvers.reverse.patch 2012-04-23 16:26:41 UTC (rev 21385)
@@ -0,0 +1,11 @@
+Description: Workaround for monkey-patching urlresolvers.reverse Django function
+Author: Janos Guljas <janos at resenje.org>
+Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665908
+Last-Update: 2012-04-23
+
+--- a/localeurl/__init__.py
++++ b/localeurl/__init__.py
+@@ -0,0 +1,3 @@
++from models import django_reverse, patch_reverse
++if not django_reverse:
++ patch_reverse()
Modified: packages/python-django-localeurl/trunk/debian/patches/series
===================================================================
--- packages/python-django-localeurl/trunk/debian/patches/series 2012-04-23 15:41:17 UTC (rev 21384)
+++ packages/python-django-localeurl/trunk/debian/patches/series 2012-04-23 16:26:41 UTC (rev 21385)
@@ -1 +1,2 @@
fix-tests-for-django-1.4.patch
+fix-monkey-patching-urlresolvers.reverse.patch
More information about the Python-modules-commits
mailing list