IgnoreMigrationOp: add class comment to explain purpose of no-op
This commit is contained in:
1 parent
e7b3361984
commit
e23e46e3d4
1 file changed
+4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user