Applying auth.0008_alter_user_username_max_length...Traceback (most recent call last):
File "manage.py", line 22, in <module>
execute_from_command_line(sys.argv)
..................
django.db.utils.OperationalError: <exception str() failed>
在shell中執行資料遷移報錯,資料庫連接應該沒有什么問題,有部分表已經進入資料庫,單獨執行自建應用的資料庫遷移model中表能正常插入資料庫,應該是遷移settings.py里INSTALLED_APPS自帶的一些應用報錯,


轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/65318.html
下一篇:stomp 報錯 AttributeError: 'StompConnection10' object has no attribute 'start'
