0

I have a problem with Django and database postresql. I am trying to fetch some data with the following code:

resultQuery=Usuario.objects.filter(correo=strmail,contrasena=strpwd)

So far all is good, also I get the record count, but after a little while the server seems to disconnect and I get this error:

ConnectionAbortedError: [WinError 10053] Se ha anulado una conexión establecida por el software en su equipo host

When I don't use database code it seems to be fine, it only happens when I start using some database code.

Thanks

Ulyses
  • 81
  • 6
  • possible dublicate of [ConnectionAbortedError: WinError 10053 An established connection was aborted by the software in your host machine](https://stackoverflow.com/questions/51562067/connectionabortederror-winerror-10053-an-established-connection-was-aborted-b) – Sahap Asci Oct 22 '21 at 21:09

0 Answers0