1
0
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:
Markus Holtermann
2015-01-08 18:00:04 +01:00
committed by Tim Graham
parent 67d6a8c4e6
commit c8bac4b556
25 changed files with 72 additions and 26 deletions

View File

@@ -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
^^^^^^