Django ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine

前端 未结 5 1922
挽巷
挽巷 2020-12-01 22:02

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         


        
5条回答
  •  猫巷女王i
    2020-12-01 22:48

    I was running into this error even with Python 3.6.5 and django 2.0

    I noticed 301 redirects in the network tab of the browser debugger. When I fixed them by appending trailing backslashes to all url/api calls in my html/js, this problem went away. The urlconf must have trailing backslashes as well.

提交回复
热议问题