mirror of
https://github.com/django/django.git
synced 2025-09-27 04:29:17 +00:00
Mark model renaming as irreversible for now (#22248)
This commit is contained in:
parent
81f5408c7a
commit
831ce69cbb
1 changed files with 2 additions and 0 deletions
|
@ -98,6 +98,8 @@ class RenameModel(Operation):
|
||||||
Renames a model.
|
Renames a model.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
reversible = False
|
||||||
|
|
||||||
def __init__(self, old_name, new_name):
|
def __init__(self, old_name, new_name):
|
||||||
self.old_name = old_name
|
self.old_name = old_name
|
||||||
self.new_name = new_name
|
self.new_name = new_name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue