Django迁移文件出错

迁移出错怎么办,求帮忙

img

vstemcheck laentiriedsome issues
JARNINGS
 (mysq1.WO02MySQLS 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'line381in 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_sqlmode1))
 Fild pythonl Iibsitepackagesdjan G odbbackendsbase schema.pyline 963,in_model_indexes_sql
        extend(self.fieldindexe output qlmodelfieldFile pythonllibsite-packages G db\backends\base\schema.py'line978in_field_indexes_sql
          field should be indexed 11 cel G ield):
 Fild pythonl\libsite packag 2Sd18 dbbackends mysql schemapy'line58in_field should be_indexed
                        mode1 Selt nnection cursormeta. db table
        pythonllib\site File Gackagesdjango\db backends mysql\introspection.pyline 146,in get_storage_engine
  return
 File G python1l1iby packagesd S1te jangoutils\functional.py'line 80,in_get
                dictLself.name nstance =self.func(instanceFile pythonl Iib\site-packagesdjangodb\backendsmysqlfeatures.pyline65in_mysql_storage_engine
   return result[o]
         NoneType object is not Or riDtable

你好,我是有问必答小助手,非常抱歉,本次您提出的有问必答问题,技术专家团超时未为您做出解答


本次提问扣除的有问必答次数,将会以问答VIP体验卡(1次有问必答机会、商城购买实体图书享受95折优惠)的形式为您补发到账户。


因为有问必答VIP体验卡有效期仅有1天,您在需要使用的时候【私信】联系我,我会为您补发。