#35249: DISABLE_SERVER_SIDE_CURSORS is not documented as a connection setting
------------------------------------------+------------------------
Reporter: Johannes Maron | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: dev
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------+------------------------
`DISABLE_SERVER_SIDE_CURSORS` is documented as a Django setting when it is
in fact a connection setting.
See also:
https://docs.djangoproject.com/en/5.0/ref/settings/#disable-server-side-
cursors
https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/models/query.py#L540-L542
The correct usage is:
{{{
# settings.py
DATABASES = {
"default": {
# …
"DISABLE_SERVER_SIDE_CURSORS": True,
},
}
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35249>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018ddae42c21-86cb1128-d168-4e19-a30f-195d938c9efe-000000%40eu-central-1.amazonses.com.