mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #24098 -- Added no-op attributes to RunPython and RunSQL
Thanks Loïc Bistuer and Tim Graham for the discussion and review.
This commit is contained in:
committed by
Tim Graham
parent
67d6a8c4e6
commit
c8bac4b556
@@ -457,6 +457,11 @@ Migrations
|
||||
* A :ref:`generic mechanism to handle the deprecation of model fields
|
||||
<migrations-removing-model-fields>` was added.
|
||||
|
||||
* The :attr:`RunPython.noop <django.db.migrations.operations.RunPython.noop>`
|
||||
and :meth:`RunSQL.noop() <django.db.migrations.operations.RunSQL.noop>` class
|
||||
attribute/method were added to ease in making ``RunPython`` and ``RunSQL``
|
||||
operations reversible.
|
||||
|
||||
Models
|
||||
^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user