IgnoreMigrationOp: add class comment to explain purpose of no-op

This commit is contained in:
David Wobrock committed 2019-05-19 22:32:41 +02:00
1 parent e7b3361984
commit e23e46e3d4
1 file changed
+4
+4
View File
@@ -16,6 +16,10 @@ from django.db.migrations.operations.base import Operation
class IgnoreMigration(Operation):
"""
No-op migration operation that will enable the Django Migration Linter
to detect if the entire migration should be ignored (through code).
"""
reversible = True
reduces_to_sql = False