Heroku Trouble at the End

I get all the way to the end with minimal issues. I even get the "Hello, world" to display locally. However, when I try to get it working on Heroku working it just says that I have a "Server Error" with the description "The website encountered an error while retrieving http://sleepy-badlands-9508.herokuapp.com/. It may be down for maintenance or configured incorrectly."

I did the following to git and heroku prior:

$ git add . $ git commit -am "..." $ git push heroku master

Am I doing something wrong here?

Sorry You must be a logged in, registered user to answer a question.

Answers

I've been struggling with the same problem today and I think I've found a solution. Try adding "sleepy-badlands-9508.herokuapp.com" to your ALLOWED_HOSTS in base.py file. I did the same for my app (using its name) and after that it worked fine.

I actually solved this a different way and I posted another question to see if I would run into problems here http://gettingstartedwithdjango.com/questions/1/question-on-debug-truefalse/. Basically I just changed the "Debug = False" in the base.py file to "Debug = True"
Nate Wilson on
Thanks. It worked for me also. Note that, as shown by lubecki, there are no http:// at the beginning and no / at the end of the address.
sergeetiparent on