Menu

DJANGO_SETTINGS_MODULE not found

cputoaster
2011-04-13
2013-03-15
  • cputoaster

    cputoaster - 2011-04-13

    when trying to start a django app in pydev, I get this error:

    ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined.
    

    I do have it defined in the project PyDev - PYTHONPATH -> String Substitution Variables, and can also see it in the pydev django interactive shell via os.environ

    Does anybody have any idea what could be the problem?

    Cheers,
    Andres

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-04-14

    Which PyDev version are you using?