mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #23426 -- Don't require double percent sign in RunSQL without parameters
This commit is contained in:
parent
0aca91cf7f
commit
b9a670b227
4 changed files with 25 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue