Question: I have my Django app pushed to heroku successfully, however when I try to open a shell such as `heroku run python manage.py shell` I get `django-no-module-named-django-core-management` error. My app also does not render properly when I visit the URL. I've checked all the settings and can't figure out I'm getting this error. My requirements.txt file is setup correctly with all the dependencies (including Django) from my virtual env.

Answer: 
you need to activate your virtualenv

```
. bin/activate

```

only then your code has access to all modules inside virtualenv
I think you could check your requirements.txt file
`psycopg2==2.5.3`