"heroku run python manage.py collectstatic --noinput" returns "no module named haystack"

549 views Asked by At

Locally, haystack is working fine when I open the project in my server. Issues arise when I try to push to heroku. I get a collectstatic configuration error. When I try to debug using heroku run python manage.py collectstatic --noinput I get this message ImportError: No module named haystack.

  1. In my virtualenv, Django-haystack in installed
  2. Locally, haystack works.
  3. I have no items yet inside my staticfiles folder/directory.
  4. Previously, I had a Template does not exist error. My virtualenv is named the same as my project so django only entered in 2 files instead of the 3. Could the error here be similar?

Thanks to anyone willing to help.

0

There are 0 answers