[django/django] 266c0b: Fixed #20278 -- ensured .get() exceptions do not r...

8 views
Skip to first unread message

GitHub

unread,
May 20, 2013, 11:50:32 AM5/20/13
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: 266c0bb23e9d64c47ace4d162e582febd5a1e336
https://github.com/django/django/commit/266c0bb23e9d64c47ace4d162e582febd5a1e336
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/basic/models.py
M tests/basic/tests.py

Log Message:
-----------
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.



Reply all
Reply to author
Forward
0 new messages