mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #16856 - Added a way to clear select_related.
Thanks Carl for the suggestion and David Cramer for the patch.
This commit is contained in:
@@ -287,6 +287,11 @@ Minor features
|
||||
helper for testing formset errors:
|
||||
:meth:`~django.test.SimpleTestCase.assertFormsetError`.
|
||||
|
||||
* The list of related fields added to a
|
||||
:class:`~django.db.models.query.QuerySet` by
|
||||
:meth:`~django.db.models.query.QuerySet.select_related` can be cleared using
|
||||
``select_related(None)``.
|
||||
|
||||
Backwards incompatible changes in 1.6
|
||||
=====================================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user