1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

queryset-refactor: Fixed #6664. Calling list() no longer swallows field errors.

This is slightly backwards incompatible with previous behaviour if you were
doing Tricky Stuff(tm) -- the exception type has changed if you try to create a
bad queryset.


git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@7163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick
2008-02-27 00:44:44 +00:00
parent fc4c0f7b39
commit 014373b459
11 changed files with 27 additions and 20 deletions

View File

@@ -394,7 +394,7 @@ Bug #2076
>>> LoopX.objects.all()
Traceback (most recent call last):
...
TypeError: Infinite loop caused by ordering.
FieldError: Infinite loop caused by ordering.
# If the remote model does not have a default ordering, we order by its 'id'
# field.