Re: RenameField with django 2.0: AttributeError: 'ManyToManyRel' object has no attribute 'field_name'

2017-12-04 Thread edigiacomo
Thanks Simon, I've filed a new ticket https://code.djangoproject.com/ticket/28884 Emanuele On Monday, December 4, 2017 at 6:00:30 PM UTC+1, Simon Charette wrote: > > Hello there, > > This looks like a regression in Django 2.0 caused by 095c1aaa[0]. > > Please file a new ticket mentioning it's

RenameField with django 2.0: AttributeError: 'ManyToManyRel' object has no attribute 'field_name'

2017-12-04 Thread edigiacomo
With Django==2.0, a RenameField on a model which has a reverse many to many relationship raises an exception: AttributeError: 'ManyToManyRel' object has no attribute 'field_name' The same migration with Django==1.11 terminates successfully. Migrations are automatically generated by `manage.