迁移出错怎么办,求帮忙
vstemcheck laentiriedsome issues
JARNINGS
(mysq1.WO02)MySQLS Strict Mode connection fordatabase motset default
HINT:MySQL's Strict Mode fixesmanyc data integrity yproblems in MySQL. such as data truncation upon insertion,by escalating warnings into errors.Itis strongly recommended you ac
ationstoDerIorm:
Applyallmigrations:admin,auth,contenttypes,sessions
mningmigrations:
(most recent call last):
File1 anage.py,1ine21,in<module>
a1n()
Filemanage.py,1ine17,inmain
CL11eom and line(sys.argV
File G:python1\1ib\sitepackagesdjangolcore\managementl_initpy',line381,in execute_from command_line
ntility.execute()
FileG: ythonl\lib\sitepackagesdjango\core management_initpy,line 375,in execute
File ackagesdjango\core\managementbase.py,1ine323,inrun from argv
中 *cmdoptions)
File dian ngo coremanagementbase.py,line364,inexecute
elthan09 options
File djangocoremanagementbase.py,line83,inwrapped
nandle fun 来KWarES)
G: File pythoniylih ackagesdjango\coremanagementcoandsmigrate.pyline234,inhandle
akeinitial=fake
FileG:pythonl\1ib\sitepackages\django\db\migrations executor.py,line91,inmigrate
selt.xecorder. msurescnema
File G:pythonl\1ibsite packagesdjangodbmigrationsrecorder.py,line67,in ensure_schema
editor. create model(self.Migration)
File pythonl\lib\sitepackages\d go db backends\base\schema.py,line 310,in create_model
self.deferred l.extend(self. model_indexes_sql(mode1))
Fild pythonl Iibsitepackagesdjan G odbbackendsbase schema.py,line 963,in_model_indexes_sql
extend(self.fieldindexe output ql(model, field)
File pythonllibsite-packages G db\backends\base\schema.py'line978,in_field_indexes_sql
field should be indexed 11 cel G ield):
Fild pythonl\libsite packag 2Sd18 dbbackends mysql schemapy',line58,in_field should be_indexed
mode1 Selt nnection cursor( meta. db table
pythonllib\site File G: ackagesdjango\db backends mysql\introspection.py,line 146,in get_storage_engine
return
File G python1l1iby packagesd S1te jangoutils\functional.py',line 80,in_get
dictLself.name nstance =self.func(instance)
File pythonl Iib\site-packagesdjangodb\backendsmysqlfeatures.py,line65,in_mysql_storage_engine
return result[o]
NoneType object is not Or riDtable