diff options
| author | Markus Holtermann <info@markusholtermann.eu> | 2014-09-23 23:17:00 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-09-24 07:21:50 -0400 |
| commit | ae14c75014379d1cf405509b65eb986c0cb3b0f3 (patch) | |
| tree | 9ab1904ea23550d54041f326a6944b500bb13703 /docs/ref | |
| parent | cc74d8e02e8b659b914859d60002aaa47600f0ff (diff) | |
[1.7.x] Fixed #23426 -- Don't require double percent sign in RunSQL without parameters
Backport of b9a670b227 from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/migration-operations.txt | 5 |
1 files changed, 5 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 |
