DEV Community

Discussion on: Deploy Your Django + React.js app to Heroku

Collapse
 
rmiyazaki6499 profile image
Ryuichi Miyazaki • Edited

[UPDATE]
So I discovered that we needed to update the .wsgi file which I found in the source code but clearly not a part of the tutorial. I think it would be helpful to add that section after the testing of the app if it works locally.

[EDIT]
Sorry, so when I ran the deployment when I did this I did not realize my partner had changed it.
The original settings should work.

Collapse
 
joeszaf profile image
Joe Szaf

Ran into the same problem.

It was fixed when I actually committed my work before pushing to master.

Specifically, I ran the following before "$ git push heroku master" :

git add .
git commit -m "initial commit"

Collapse
 
lgerhardt45 profile image
Lukas Gerhardt

Hey Ryuichi,
I ran into the same error you were having. Can you please share what fixed the problems with the python buildpack in the wsgi.py file?

Collapse
 
shakib609 profile image
Shakib Hossain

Sorry for the late reply. Can you share with me what modifications you had to make to the wsgi.py file? In my case I didn't have to modify it, that's why I did not include it in the tutorial.

Thread Thread
 
rmiyazaki6499 profile image
Ryuichi Miyazaki

Sorry for the late reply.
I had finished the project and then COVID happened.

I looked back and actually the default wsgi.py settings were correct.
My partner had changed it without telling me...