配置编辑运行环境

打开软件上面运行的程序,点击Edit Configuration...,对Environment variables那一项进行添加,其中name添加DJANGO_SETTINGS_MODULE,value栏添加"项目名.settings",然后运行即可,详见下图

pycharm报错django.core.exceptions.ImproperlyConfigured: Requested setting CACHES

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-03
  • 2022-12-23
  • 2021-10-13
  • 2021-06-29
  • 2022-12-23
猜你喜欢
  • 2021-09-23
  • 2021-05-25
  • 2022-12-23
  • 2022-12-23
  • 2021-12-30
  • 2021-11-17
  • 2022-12-23
相关资源
相似解决方案