db.migrations.operations.RunSQL.noop

RunSQL.noop

Pass the RunSQL.noop attribute to sql or reverse_sql when you want the operation not to do anything in the given direction. This is especially useful in making the operation reversible.

New in Django 1.10:

The elidable argument was added.

doc_Django
2016-10-09 18:35:11
Comments
Leave a Comment

Please login to continue.