Pydev error while creating new django project

≡放荡痞女 提交于 2019-12-10 19:47:26

问题


I keep getting this error every time i create a new django project using titanium (eclipse) with pydev. Actually, it did create the file settings.py I wonder what make this error and how to fix it?


回答1:


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. Move the contents inside of the folder that was created to your module (this was the structural change done in django 1.4)

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

  3. 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.




回答2:


I updated my pydev today to the last version and now it seems to be working beautifully...



来源:https://stackoverflow.com/questions/9966287/pydev-error-while-creating-new-django-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!