1
0
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:
Tim Graham
2013-05-30 11:05:42 -04:00
parent 616f3c4a79
commit 5074c75a37
4 changed files with 21 additions and 1 deletions

View File

@@ -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
=====================================