[django/django] 0edded: [1.5.x] Fixed #20278 -- ensured .get() exceptions ...

2 views
Skip to first unread message

GitHub

unread,
May 20, 2013, 11:52:16 AM5/20/13
to django-...@googlegroups.com
Branch: refs/heads/stable/1.5.x
Home: https://github.com/django/django
Commit: 0eddedf7db782a05e098c7024a9056aef7283b81
https://github.com/django/django/commit/0eddedf7db782a05e098c7024a9056aef7283b81
Author: Anssi Kääriäinen <akaa...@gmail.com>
Date: 2013-05-20 (Mon, 20 May 2013)

Changed paths:
M django/db/models/query.py
M tests/modeltests/basic/models.py
M tests/modeltests/basic/tests.py

Log Message:
-----------
[1.5.x] Fixed #20278 -- ensured .get() exceptions do not recurse infinitely

A regression caused by d5b93d3281fe93cbef5de84a52 made .get() error
reporting recurse infinitely on certain rare conditions. Fixed this by
not trying to print the given lookup kwargs.

Backpatch of 266c0bb23e9d64c47ace4d162e582febd5a1e336



Reply all
Reply to author
Forward
0 new messages