I am using django with postgresql, whenever I try to save or delete anything, this error occurs -
Traceback (most recent call last):
File \"c:\\program file
I was making a web application and was facing the same issue in windows 10, python 3.7.6, django 3.0.8. I tried a lot of stuff and i finally found a fix.
I was using a form which called a js function onsubmit which in turn sent a REST call which was getting canceled with the '[WinError 10053] An established connection was aborted by the software in your host machine' error in command prompt.
I added the parameter method='post' and used jQuery.ajax in the js function and i added the event.preventDefault() as well in the function as well as some success and fail callbacks. I don't understand why but now i am not getting the error.
Hope this help anyone using js along with HTML forms until a the issue is root-caused and fixed.
This Github bug is tracking the issue