[Django]-Change model to inherit from abstract base class without changing DB

0👍

You cannot override model fields of the same name in Django, which is why South is asking you to remove the ‘name’ field from the child class. See https://docs.djangoproject.com/en/dev/topics/db/models/#field-name-hiding-is-not-permitted for further details.

You may need to export the existing name from each row and map them back into the updated table (perhaps by using row id as the key).

Leave a comment