#32518: Document that QuerySet.contains() should not be overused.
------------------------------------------------+------------------------
Reporter: Mariusz Felisiak | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 4.0
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 |
------------------------------------------------+------------------------
Adjust
[https://docs.djangoproject.com/en/dev/topics/db/optimization/#don-t
-overuse-count-and-exists "Don’t overuse count() and exists()"] section in
docs to mention `QuerySet.contains()`, see
[https://github.com/django/django/pull/13038#discussion_r588131243
comment].
Follow up to #24141.
--
Ticket URL: <https://code.djangoproject.com/ticket/32518>
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/050.167d3de4b69188be345112e925a1f81c%40djangoproject.com.