#13073: Duplicate rows when checking ID
---------------------------------------------------+------------------------
Reporter: jnadro52 | Owner: nobody
Status: closed | Milestone:
Component: Database layer (models, ORM) | Version: 1.1
Resolution: invalid | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Comment (by jnadro52):
*facepalm*
I feel so stupid. I forgot the simple fact that all of these querysets
are lazy evaluated. For some reason, I expected an array of items from
the database, instead of having the queryset evaluated every time when
getting accessed by the index. For example, if I enumerate the items they
certainly DO get emitted correctly.
I'm sorry if I've wasted your time. Thank you.
--
Ticket URL: <http://code.djangoproject.com/ticket/13073#comment:4>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.