summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
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 171ddd8ee7..dc769dca69 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`).