From ae14c75014379d1cf405509b65eb986c0cb3b0f3 Mon Sep 17 00:00:00 2001 From: Markus Holtermann Date: Tue, 23 Sep 2014 23:17:00 +0200 Subject: [1.7.x] Fixed #23426 -- Don't require double percent sign in RunSQL without parameters Backport of b9a670b227 from master --- docs/ref/migration-operations.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/ref') 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 -- cgit v1.3