PyCharm不会自动完成Django的“模型"在2018.3.2 [英] PyCharm doesn't autocomplete Django "models" in 2018.3.2

查看:41
本文介绍了PyCharm不会自动完成Django的“模型"在2018.3.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经用PyCharm创建了我的Django项目.当我在模型中使用 objects 属性时,PyCharm无法识别 objects .

I've created my Django project with PyCharm. When I use the objects attribute in my model, PyCharm doesn't recognize objects.

我已经访问了此页面,但是我在设置中没有Django选项:设置/语言和框架/Django"!

I've visited this page, but I haven't got the Django option in settings: "Settings/Languages & Frameworks/Django" !

推荐答案

直到PyCharm(2020.1)的当前版本,Django支持(包括代码完成功能)仅在PyCharm Professional中可用-请参见

Up to the current version of PyCharm (2020.1), Django support, including code completion, is only available in PyCharm Professional - see the PyCharm documentation. Django is not supported by PyCharm Community Edition.

这篇关于PyCharm不会自动完成Django的“模型"在2018.3.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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