From e23e46e3d4a6051f3965ba30111b625e3a019cbe Mon Sep 17 00:00:00 2001 From: David Wobrock Date: Sun, 19 May 2019 22:32:41 +0200 Subject: [PATCH] IgnoreMigrationOp: add class comment to explain purpose of no-op --- django_migration_linter/operations.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/django_migration_linter/operations.py b/django_migration_linter/operations.py index cb4f767..3182a8b 100644 --- a/django_migration_linter/operations.py +++ b/django_migration_linter/operations.py @@ -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