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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user