mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #23426 -- Don't require double percent sign in RunSQL without parameters
This commit is contained in:
committed by
Tim Graham
parent
0aca91cf7f
commit
b9a670b227
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user