Python

CommandError- Conflicting migrations detected multiple leaf nodes in the migration graph

CommandError- Conflicting migrations detected multiple leaf nodes in the migration graph, someone asked me to explain?

I got this following error while running migration command: CommandError: 

Conflicting migrations detected; multiple leaf nodes in the migration graph: (0006_alter_post_slug_alter_post_title, 0003_auto_20230818_0656 in app).

The conflicts occurs on migration changes. It error indicates that there are multiple nodes, that that have no dependencies on other migrations.

SOLUTION:

python manage.py makemigrations --merge


Post your comments / questions