Using twine.
The cause is unknown, but sometimes when I connect a display to my Mac using an HDMI cable, it freezes.
When I tried to migrate a project using Python 2.7 + Django 1.6 to Python 3.5 + Django 2.0 and recreated the migration files, running ./manage.py migrate resulted in the following error:
Depending on the use case, this serves as a personal memo. Ubuntu.