django/django — pull request #3274 by artemrizhov (2014-09-25 17:58:41+00:00)
Title: Fixed potential problem with IndexError in QuerySet.first()

The current implementation may suppress internal IndexError exceptions.

Please see ticket 23555 for more details. https://code.djangoproject.com/ticket/23555#ticket