Django Django.db.migrations.graph.circulardependencyerror
I am facing circulation error while migrating my app. when i run this: (virEnv)abc@abc-All-Series:~/vissa_poc$ python manage.py migrate forms **I get this:** Traceback (most recen
Solution 1:
I may suggest that you are trying to use ManyToMany field with 'through' option.
To fix it you need to do the next:
- Comment a whole line where you use ManyToMany+through by putting # at the beginning of the line
- makemigrations of_all_apps_you_need (also the one where the line from p1 exist)
- uncomment the line from p1
- makemigrations the_app_where_the_line_from_p1_exist
- migrate
Post a Comment for "Django Django.db.migrations.graph.circulardependencyerror"