I am using flask to make an application and I made a separate file for jquery (i.e in static/script/jquery.js).
I want to redirect to homepage which is in template folder, how can I do that?
I tried: window.location.href = "{{url_for ('home_page')}}"
This is not working, here is the error message.
