I am new to django. And I encountered an error. There are two button in a form one as submit functionality and other has onclick(to claculate values and display it in one of the input).
but the onclick="fare()" not working where as static folder is linked. Please help how to call the function
this is what I am getting in console
Do I have to write same login in python? help me with the best way.