Forums

Get 500 internal server error

My application loads successfully from the URL. But when it tries to reach GET http://lakshi.pythonanywhere.com/useract/test/?val=bus+late URL Error 500 pops up.

Could you please help me with this. I'm new to python Django and pythonanywhere.

Thanks in advance

The best way to debug this kind of thing is the error log for your website. You can find a link to it from the "Web" page, and the most recent error traceback will be at the bottom of the file.