[Python-modules-commits] r12526 - in packages/python-django/trunk/debian (3 files)

lamby at users.alioth.debian.org lamby at users.alioth.debian.org
Tue Apr 6 21:30:46 UTC 2010


    Date: Tuesday, April 6, 2010 @ 21:30:44
  Author: lamby
Revision: 12526

Apply patch from upstream VCS to fix unquoted DROP CONSTRAINT identifiers when using "./manage.py sqlclear". (Closes: #569564)

Added:
  packages/python-django/trunk/debian/patches/09_quote_db_constraints.diff
Modified:
  packages/python-django/trunk/debian/changelog
  packages/python-django/trunk/debian/patches/series

Modified: packages/python-django/trunk/debian/changelog
===================================================================
--- packages/python-django/trunk/debian/changelog	2010-04-06 20:49:06 UTC (rev 12525)
+++ packages/python-django/trunk/debian/changelog	2010-04-06 21:30:44 UTC (rev 12526)
@@ -1,3 +1,10 @@
+python-django (1.1.1-5) UNRELEASED; urgency=low
+
+  * Apply patch from upstream VCS to fix unquoted DROP CONSTRAINT identifiers
+    when using "./manage.py sqlclear". (Closes: #569564)
+
+ -- Chris Lamb <lamby at debian.org>  Tue, 06 Apr 2010 22:20:37 +0100
+
 python-django (1.1.1-4) unstable; urgency=low
 
   * Add python-yaml to Suggests; without it, Django silently fails to load YAML

Added: packages/python-django/trunk/debian/patches/09_quote_db_constraints.diff
===================================================================
--- packages/python-django/trunk/debian/patches/09_quote_db_constraints.diff	                        (rev 0)
+++ packages/python-django/trunk/debian/patches/09_quote_db_constraints.diff	2010-04-06 21:30:44 UTC (rev 12526)
@@ -0,0 +1,13 @@
+Forwarded-Upstream: Not needed
+Comment:
+  From <http://code.djangoproject.com/ticket/12850>, fixing #569564.
+
+--- a/django/db/backends/creation.py (revision 11343)
++++ b/django/db/backends/creation.py (revision 12812)
+@@ -301,5 +301,5 @@
+                 style.SQL_TABLE(qn(table)),
+                 style.SQL_KEYWORD(self.connection.ops.drop_foreignkey_sql()),
+-                style.SQL_FIELD(truncate_name(r_name, self.connection.ops.max_name_length()))))
++                style.SQL_FIELD(qn(truncate_name(r_name, self.connection.ops.max_name_length())))))
+         del references_to_delete[model]
+         return output

Modified: packages/python-django/trunk/debian/patches/series
===================================================================
--- packages/python-django/trunk/debian/patches/series	2010-04-06 20:49:06 UTC (rev 12525)
+++ packages/python-django/trunk/debian/patches/series	2010-04-06 21:30:44 UTC (rev 12526)
@@ -6,3 +6,4 @@
 06_python_2.6.3_regression.diff
 07-to_locale-sr_latn.diff
 08-python_2.6_cookie_regression.diff
+09_quote_db_constraints.diff




More information about the Python-modules-commits mailing list