* status: new => closed
* type: Bug => New feature
* resolution: => wontfix
* summary:
Renaming a field and its verbose name result in deleting and
recreating a new column in django 4.2
=>
Renaming a field and other attributes result in deleting and
recreating a new column.
Comment:
Migrations are unable to detect that field is renamed after any other
attribute changes. You need to do this in two steps:
- rename a field (generate migrations).
- change a verbose name (generate migrations, this is a no-op).
--
Ticket URL: <https://code.djangoproject.com/ticket/35176#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.