Update a model field – Django

By | May 3rd, 2017|Categories: Fixes|Tags: , , |0 Comments

I noticed a typo in a field name after running migrations, I followed these steps to update the field without loosing data. Update the filed name in the model with the desired name (taking note of the current name) Create an empty migration. If you have previous migrations, this one must be named in such