The problem is that the python manage.py migrate fails due to the absence of tables in the database, but actually, it should create them. And now in more detail
python manage.py migrate