PyCharm 4.5.3 Django manage.py在更新后无法正常工作 [英] PyCharm 4.5.3 Django manage.py task not working after update

查看:185
本文介绍了PyCharm 4.5.3 Django manage.py在更新后无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级4.5.3后,我的工具 - >运行manage.py任务不再有效。点击链接什么都不做。没有窗口弹出。去Python控制台不起作用,同样的事情没有发生。

After upgrading 4.5.3 my Tools->Run manage.py task no longer works. Clicking on the link does nothing. No window pops up. Going to "Python Console" does not work, same thing, nothing happens.

在语言和框架中去Django,取消选择django允许python控制台正确的工作作为一个python口译员。重新选择Django将重现上述结果。

Going to Django in "Languages and Frameworks" and deselecting django allows the "python console" to properly work as a python interpreter. Reselecting Django reproduces the above results.

Django的设置:
Django Project Root是包含manage.py
的相同文件夹。设置是我的设置文件
管理脚本是manage.py

Settings for Django: Django Project Root is the same folder which contains manage.py Settings is my settings file Manage script is manage.py

Django控制台的设置:
适当的python解释器
工作目录是同一个目录,其中管理.py是。

Settings for Django Console: proper python interpreter working directory is the same directory where manage.py is.

项目运行正常

再次,它一切正常,更新到4.5.3,并停止工作。任何想法?

Again, it all worked fine, updated to 4.5.3, and it stopped working. Any ideas?

由同一件事引起的其他问题是我的测试配置不运行。

Other issues, caused by the same thing, is that my test configuration doesn't run.

编辑:youtrack.jetbrains.com/issue/PY-16434 - 添加

youtrack.jetbrains.com/issue/PY-16434 - Added

编辑:这是一个错误,正在修复

It's a bug, being fixed

推荐答案

仅限4.5.3版。问题在于Django设置文件,在TEMPLATES中。这是模糊的DIRS的错误。查看错误报告。我评论了模板,它为我工作。

For version 4.5.3 only. The issue is with the Django Settings file, in TEMPLATES. It's a bug with the DIRS of TEMPLATES. See bug report. I commented out the TEMPLATES and it worked for me.

这篇关于PyCharm 4.5.3 Django manage.py在更新后无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆