On Thu, Aug 4, 2011 at 2:14 PM, nixlists <nixmli...@gmail.com> wrote:
> How one would approach this? Do I iterate over the whole QuerySet,
> adding a calculated value to each object? What about pagination as
> done in the generic methods?

Well, without more details about your model(s) and what calculation
you'd like to make it's impossible to give you a specific answer.
However, you may want to take a look at Django's
aggregation/annotation commands (http://django.me/aggregation) and see
if that helps.

If not, perhaps you could share more details? That'll probably help
people help you.

Jacob

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to