Forums

error 400

Hey guys, i'm a student in need of a quick solve. I've obviously messed something up and I can't figure out what. I can see every url available but when I try to make the request it gives me a 400 error. I have debug=true and allowedhostes=['*']. my url is rosszboss.pythonanywhere.com if anyone wants to look. I created a test url that would just reply a string and it worked so it might be something to do with accessing the database?

I get the following at that URL:

Page not found (404) Request Method: GET Request URL: http://rosszboss.pythonanywhere.com/

Using the URLconf defined in smartboard.urls, Django tried these URL patterns, in this order:

^users/
^modules/
^admin/

The current URL, , didn't match any of these.

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.

Could you give us more detail in terms of what you want to do (what your url/view is doing) and also what errors you are seeing? In particular, you should also look at your error log to debug.