且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

创建新的django项目时出现Pydev错误

更新时间:2023-02-24 21:05:49

真的是PyDev问题与Django 1.4。新版本(2.5.0)将在本周晚些时候正式支持Django 1.4中的布局更改。

It's really a PyDev issue with Django 1.4. A new release (2.5.0) will be done later this week properly supporting the layout changes in Django 1.4.

您仍然可以使用以这种方式创建的项目,但是必须做一些手动的事情:

You can still use the project created this way, but you have to do some manual things:


  1. 将创建的文件夹内的内容移动到模块中(这是结构化在django中进行的更改1.4)

  1. Move the contents inside of the folder that was created to your module (this was the structural change done in django 1.4)

settings.py不会在向导中输入详细信息(即:手动编辑settings.py)

The settings.py won't have the details you entered in the wizard (i.e.: manually edit the settings.py)

在项目django的属性(右键单击项目>属性并检查django属性页面)中,您必须将适当的设置放置到设置模块并进行管理。 py。

In the project django's properties (right click project > properties and check the django properties page), you have to put the proper settings to the settings module and manage.py.