summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarkus Holtermann <info@markusholtermann.eu>2014-09-23 23:17:00 +0200
committerTim Graham <timograham@gmail.com>2014-09-24 07:20:57 -0400
commitb9a670b22799a44fe7d3467d1d21949f9f717593 (patch)
treed63f4a4197267bf5c23181252734b46fb1f1fca5 /docs
parent0aca91cf7f0ec6547659a9404f139a0c9ba280a1 (diff)
Fixed #23426 -- Don't require double percent sign in RunSQL without parameters
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/migration-operations.txt5
-rw-r--r--docs/releases/1.7.1.txt3
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/ref/migration-operations.txt b/docs/ref/migration-operations.txt
index a2da17f1bf..c55ad0afb8 100644
--- a/docs/ref/migration-operations.txt
+++ b/docs/ref/migration-operations.txt
@@ -192,6 +192,11 @@ operation here so that the autodetector still has an up-to-date state of the
model (otherwise, when you next run ``makemigrations``, it won't see any
operation that adds that field and so will try to run it again).
+.. versionchanged:: 1.7.1
+
+ If you want to include literal percent signs in the query you don't need to
+ double them anymore.
+
.. _sqlparse: https://pypi.python.org/pypi/sqlparse
RunPython
diff --git a/docs/releases/1.7.1.txt b/docs/releases/1.7.1.txt
index 8d8af5c7f2..2467da13bd 100644
--- a/docs/releases/1.7.1.txt
+++ b/docs/releases/1.7.1.txt
@@ -67,3 +67,6 @@ Bugfixes
:meth:`~django.contrib.admin.InlineModelAdmin.get_min_num()` hooks to
:class:`~django.contrib.contenttypes.admin.GenericInlineModelAdmin`
(:ticket:`23539`).
+
+* Made ``migrations.RunSQL`` no longer require percent sign escaping. This is
+ now consistent with ``cursor.execute()`` (:ticket:`23426`).