I have a simple django model with a ForeignKey
class FooModel(models.Model): foo = models.ForeignKey(\'Foo\', related_name=\"foo_choices\") bar = models.
The above accepted answer is now outdated.
Django does create and alter field foreign_key_field on model migration when the related name of a foreign key field changes.
alter field foreign_key_field on model