summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Godwin <andrew@aeracode.org>2014-03-19 21:25:26 -0700
committerAndrew Godwin <andrew@aeracode.org>2014-03-19 21:25:26 -0700
commit831ce69cbbcf239c0fbbf525643e12e69275c93b (patch)
tree4d4ffdbdfc0ab595fe252d932899908961e30403
parent81f5408c7a16b8c79053950f05fe7a873506ca55 (diff)
Mark model renaming as irreversible for now (#22248)
-rw-r--r--django/db/migrations/operations/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/django/db/migrations/operations/models.py b/django/db/migrations/operations/models.py
index 561a2d81ad..7253b29fad 100644
--- a/django/db/migrations/operations/models.py
+++ b/django/db/migrations/operations/models.py
@@ -98,6 +98,8 @@ class RenameModel(Operation):
Renames a model.
"""
+ reversible = False
+
def __init__(self, old_name, new_name):
self.old_name = old_name
self.new_name = new_name