From 831ce69cbbcf239c0fbbf525643e12e69275c93b Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Wed, 19 Mar 2014 21:25:26 -0700 Subject: [PATCH] Mark model renaming as irreversible for now (#22248) --- django/db/migrations/operations/models.py | 2 ++ 1 file changed, 2 insertions(+) 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