Comment Comment by peedy If you're on a django project, most probably you're using virtualenv. I had a habit of just putting environment variables in the postactivate script. parent peedy 11 years ago