﻿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
25047	"""Conflicting migrations detected"" error in makemigrations is rather unhelpful"	Niclas Olofsson	Moses Mugisha	"If you run makemigrations and have more than one migration which no other migration depend upon (a leaf in the dependency graph), you will get the following error

{{{
Conflicting migrations detected [0001_migration_a, 0002_migration_b]. To fix them run python manage.py makemigrations --merge
}}}

I believe that it is hard to find the cause of this error without looking at the implementation of the checker (https://github.com/django/django/blob/bc77eb6d0858652e197c08c299efaeb06c51efee/django/db/migrations/loader.py#L325).

I suggest that we change ""Conflicting migrations detected"" to something like ""There can only be one migration which are not depended upon by another migration"". I would be happy to submit a PR."	Cleanup/optimization	closed	Migrations	1.8	Normal	fixed			Ready for checkin	1	0	0	0	1	0
