django imports not found

  • Andrew Zahra

    Andrew Zahra - 2010-08-29

    I am trying to use pydev for the first time with eclipse 3.5, pydev 1.6.0 on OSX.

    When I create a django project I immediately have errors in the created project. It is not recognising any of the django imports.

    I have added the path to the site packages directory where django is installed. Is there something else that needs to be done?


  • Fabio Zadrozny

    Fabio Zadrozny - 2010-08-31

    Can you post the paths you're adding to the pythonpath? A common problem is adding the 'django' directory, when only its parent directory should be added.



  • Andrew Zahra

    Andrew Zahra - 2010-08-31

    I just went back to have a look and the red x marks on the files disappeared. Seems restarting eclipse has fixed it!


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks