Path outside of django project not on sys.path

I have a lib directory that is outside of my main django directory.  I added it to the interpreter path and reloaded it but when I launch a webserver or console, the lib path is not on syspath. I get errors when I try to import classes in the lib path.

Here's my basic setup:

|-pycharm-project

|--djangoapp

|---foobar

|--lib

Is this a bug or am I missing a configuration?

1 comment

Hello Seth,

this is a bug and we are going to fix it soon. You can track development progress looking at issue http://youtrack.jetbrains.net/issue/PY-2136

Now you can solve the problem adding your libraries to system PYTHONPATH environment variable.

0

Please sign in to leave a comment.