ModuleNotFoundError: No module named 'hellowebapp'


#1

Hello all. I just added my production settings file to push to heroku and I’m getting this error showing up in Terminal. Any idea what I’ve broken? :)

remote: ModuleNotFoundError: No module named ‘hellowebapp’
remote:
remote: ! Error while running ‘$ python manage.py collectstatic --noinput’.
remote: See traceback above for details.
remote:
remote: You may need to update application code to resolve this error.
remote: Or, you can disable collectstatic for this application:
remote:
remote: $ heroku config:set DISABLE_COLLECTSTATIC=1
remote:
remote: https://devcenter.heroku.com/articles/django-assets
remote: ! Push rejected, failed to compile Python app.
remote:
remote: ! Push failed
remote: Verifying deploy…
remote:
remote: ! Push rejected to infinite-lowlands-01097.
remote:
To https://git.heroku.com/infinite-lowlands-01097.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to ‘https://git.heroku.com/infinite-lowlands-01097.git
(venv) Chriss-MacBook-Pro:photovideocentral chrisgscott$


#2

Figured it out. I was using “hellowebapp” in a few spots when I should have been using my custom app name that I’d set up, instead.


#3

Yay, thanks for the update!