id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 23069,Can't rename model with ManyToMany relation,Jeroen Dekkers,nobody,"Given the following models: {{{ class Model1(models.Model): field = models.CharField(max_length=10) many = models.ManyToManyField('Model2') class Model2(models.Model): field = models.CharField(max_length=10) }}} If I rename either Model1 or Model2 to Model3 I get the following error when running makemigrations: {{{ CommandError: System check identified some issues: ERRORS: myapp1.Model3.many: (fields.E304) Reverse accessor for 'Model3.many' clashes with reverse accessor for 'Model3.field'. HINT: Add or change a related_name argument to the definition for 'Model3.many' or 'Model3.field'. myapp2.Model3.field: (fields.E304) Reverse accessor for 'Model3.field' clashes with reverse accessor for 'Model3.many'. HINT: Add or change a related_name argument to the definition for 'Model3.field' or 'Model3.many'. }}} ",Bug,closed,Migrations,1.7-rc-1,Release blocker,invalid,,,Unreviewed,0,0,0,0,0,0