When I deployed the Django app to Heroku, I got Module Not Found: <project-name> .wsgi.

solution

As a result of various trials

Procfile


web: gunicorn --pythonpath common common.wsgi --log-file -

Then it worked. (When the project name is common)

from now on

Currently, js and CSS are all written in the template html file, but I want to separate this as a static file later.

However, it seems that there will be another rush around the white noise setting. I have a feeling that GCP seems to be easier in this area.

Recommended Posts

When I deployed the Django app to Heroku, I got Module Not Found: <project-name> .wsgi.
I want to upload a Django app to heroku
I referred to it when I got stuck in the django geodjango tutorial (editing)
The record I was addicted to when putting MeCab on Heroku
When I try to use pip, SSL module is not available.
When I import TensorFlow to Python, I get "Import Error: DLL load failed: The specified module cannot be found."
Deploy the Django app on Heroku [Part 2]
Deploy the Django app on Heroku [Part 1]
Solution when Not Found appears when hitting the Django REST Framework API from the outside
When I try to import pandas on macOS I get the error No module named'_bz2'
A story that I did not know how to load a mixin when making a front with the django app [Beginners learn python with a reference book in one hand]
When I tried to introduce python3 to atom, I got stuck
Miscellaneous notes about deploying the django app on Heroku
When creating a pipenv environment, I got addicted to "Value Error: Not a valid python path"
When I got a list of study sessions in Python, I found something I wanted to make
The story of when I was addicted to Caused by SSLError ("Can't connect to HTTPS URL because the SSL module is not available.")