https://docs.djangoproject.com/en/1.11/ref/migration-operations/#alterfield
There are AlterField and RenameField operations available with migrations, but you probably have to include them in your custom migrations. Reason being, how would django know that you're just renaming a field and not deleting it and adding a new field in its place? In other words, how would django know going from text = models.TextField() to other_name = models.TextField() is a rename operation instead of remove and add new column? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8015df46-1146-4491-b788-e2cb291835c6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.