Menu

django imports not found

2010-08-29
2013-03-15
  • 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?

    thanks,
    Andrew

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

    Cheers,

    Fabio

     
  • 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!

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.