diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-07-20 07:34:21 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-07-26 11:41:19 +0200 |
| commit | a1e9e9abc592b8f44fa798c6e4e225b1a04f757c (patch) | |
| tree | 7c0713759aa50f55b639433675015e385c434e04 /django/db/migrations/operations/base.py | |
| parent | c773d5794eb425c4836c726bdf6e1e742c94e9c0 (diff) | |
Refs #27236 -- Reverted "Refs #27236 -- Added generic mechanism to handle the deprecation of migration operations."
This reverts commit 41019e48bbf082c985e6ba3bad34d118b903bff1.
Diffstat (limited to 'django/db/migrations/operations/base.py')
| -rw-r--r-- | django/db/migrations/operations/base.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/django/db/migrations/operations/base.py b/django/db/migrations/operations/base.py index 40128174c7..7d4dff2597 100644 --- a/django/db/migrations/operations/base.py +++ b/django/db/migrations/operations/base.py @@ -1,8 +1,7 @@ from django.db import router -from django.utils.deprecation import DeprecationForHistoricalMigrationMixin -class Operation(DeprecationForHistoricalMigrationMixin): +class Operation: """ Base class for migration operations. @@ -34,8 +33,6 @@ class Operation(DeprecationForHistoricalMigrationMixin): serialization_expand_args = [] - check_type = "migrations" - def __new__(cls, *args, **kwargs): # We capture the arguments to make returning them trivial self = object.__new__(cls) |
