django/django — pull request #105 by koniiiik (2012-06-04 00:00:09+00:00)
Title: Fixed #17485 -- Made defer work with select_related.

Calling select_related on a deferred field now results in an exception.
Thanks to Andrei Antoukh and Anssi Kääriäinen for review.

See https://code.djangoproject.com/ticket/17485 for discussion.