Okay, so I don’t know what’s going on, as I’m new to Python and Django, but for some ungodly reason I have no PYTHONPATH, and even though I made one, my Python install isn’t using it.
I have debug turned on, so I can give you all this: [snipped cause it was pointless, and might cause a security problem for me]
One thing that is strange is that I’m on Win7 x64 (using python 2.7) and it says I’m on NT.
I am following along with this tutorial: http://www.djangobook.com/en/2.0/chapter03.html
I had other PATH problems with my python install too. It’s like none of the paths are being set at all, and I have to do them all manually.
Should I just put my project folder into my PATH var? If I do that too much will it make my PC slower?
If you look in your error logs, you’ll see that you are indeed getting an error in
views.py, but it is because of this line (which is line 1):As @mhawke points out, try changing that to
HttpResponse.