mirror of https://github.com/django/django.git
Fixed #25047 -- Improved "Conflicting migrations" error message.
This commit is contained in:
parent
491d01b7e9
commit
45ed19de68
|
@ -80,7 +80,8 @@ class Command(BaseCommand):
|
|||
for app, names in conflicts.items()
|
||||
)
|
||||
raise CommandError(
|
||||
"Conflicting migrations detected (%s).\nTo fix them run "
|
||||
"Conflicting migrations detected; multiple leaf nodes in the "
|
||||
"migration graph: (%s).\nTo fix them run "
|
||||
"'python manage.py makemigrations --merge'" % name_str
|
||||
)
|
||||
|
||||
|
|
|
@ -94,7 +94,8 @@ class Command(BaseCommand):
|
|||
for app, names in conflicts.items()
|
||||
)
|
||||
raise CommandError(
|
||||
"Conflicting migrations detected (%s).\nTo fix them run "
|
||||
"Conflicting migrations detected; multiple leaf nodes in the "
|
||||
"migration graph: (%s).\nTo fix them run "
|
||||
"'python manage.py makemigrations --merge'" % name_str
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue