Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pydev error while creating new django project

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?

Error

like image 880
Chan Le Avatar asked Aug 26 '26 12:08

Chan Le


1 Answers

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.

like image 161
Fabio Zadrozny Avatar answered Aug 29 '26 03:08

Fabio Zadrozny



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!