79792609

Date: 2025-10-16 22:31:01
Score: 1
Natty:
Report link

I found a solution to this problem by setting DISABLE_SERVER_SIDE_CURSORS to True:

DATABASES = {
    "default": {
        "ENGINE": "django.db.backends.postgresql",
        "USER": "mydatabaseuser",
        ...
        "DISABLE_SERVER_SIDE_CURSORS": True, # This line

    },
}

https://docs.djangoproject.com/en/5.2/ref/settings/#std-setting-DATABASE-DISABLE_SERVER_SIDE_CURSORS

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: James Broad