I had the same problem Some ware in your code you loop the model that you want to make the changes so a solution is to comment the code temporally so you can proceed with your migrations
On Friday, January 31, 2020 at 5:29:20 PM UTC+2 mahesh goud wrote: > Hi All, > > I am trying to add new fiels to mode and migrate these to db. it is giving > me below error. Can someone help me? I am blocked to 2 weeks. Screen shot > attached > > [image: djangomigrationerror.PNG] > > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/de963780-e0f3-4094-8e83-4bb621f540cbn%40googlegroups.com.