Python course problems

I am presently taking the 6 hr Python course and I have hit a roadblock. In trying to build my first website with Django as the course instructs, the 1st phase went ok. It displayed the Django website. Then the course said to add the “hello world” msg. In trying to do this I get the following error that I uploaded.

And a secondary problem is that localhost does not work anymore. It says " refused to connect.".

Could someone help me, please?

Thank You
Alex D.