Re: Calculation for each object in a QuerySet
On Thu, Aug 4, 2011 at 4:47 PM, Javier Guerra Giraldez
<javier@guerrag.com> wrote:
> you're modifying the 'claim' objects cached by the queryset. as soon
> as the queryset loads another part of the table (typically it loads in
> 21-record chunks) or if it's clone()'d (happens a lot), it will
> construct new 'claim' objects without your modifications.
Thanks.
What's the correct way to write the view then? Any work-arounds?
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home