Django shell on remote interpreter

The django shell is encountering errors for me. It is easy to see why: it is not in the right directory, and I need to run a command that sets up the local PYTHONPATH correctly.

(It works if I use an SSH session where I can do these things, but I can do that without Pycharm, so it doesn't offer much.)

Are there any hooks where I could add code to do what I need?

Please sign in to leave a comment.