except (OperationalError, ProgrammingError, IntegrityError):
is gives the following message:
"Error creating new content types. Please make sure
contenttypes "
"is migrated before trying to migrate apps individually."
However - it's catching a much broader set of issues. I was baffled for a
while - my actual issue was that MySQL was unstable: "Lost connection to
MySQL server at 'reading initial communication packet" but I had to
disable the exception handling to figure that out.
We should probably examine the error inside the except block and narrow
down the range of cases that result in this message.
--
Ticket URL: <https://code.djangoproject.com/ticket/27105>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* needs_better_patch: => 0
* needs_tests: => 0
* version: 1.10 => 1.9
* type: Uncategorized => Cleanup/optimization
* needs_docs: => 0
* resolution: => fixed
Comment:
This is fixed in Django 1.10 by 61a16e02702fff4665969388f3b61af8cb1a20ae.
--
Ticket URL: <https://code.djangoproject.com/ticket/27105#comment:1>