Django运行python manage.py报错cannot import name 'update_contenttypes’解决办法

如图 运作python manage.py报错apps.py这个文件第七行找不到’update_contenttypes’,
运行python manage.py报错cannot import name ‘update_contenttypes‘解决办法
将第七行,第18行的的’update_contenttypes’改成**‘create_contenttypes’**,如图:运行python manage.py报错cannot import name ‘update_contenttypes‘解决办法
之后保存关闭,从新执行就可成功
运行python manage.py报错cannot import name ‘update_contenttypes‘解决办法

相关文章:

  • 2022-01-02
  • 2022-12-23
  • 2021-11-29
  • 2021-04-07
  • 2022-12-23
  • 2022-12-23
  • 2021-09-22
  • 2022-12-23
猜你喜欢
  • 2021-12-13
  • 2022-12-23
  • 2021-12-01
  • 2022-12-23
  • 2022-01-03
  • 2021-11-03
  • 2021-11-19
相关资源
相似解决方案