On 8/3/06, Daniel Poelzleithner <[EMAIL PROTECTED]> wrote: > What do you think about returning n tupples for n arguments. if n > 1 > and a pure list for only one argument ? > > .values("id", "name", flat=True) would return > [(id,name),(id,name),...] > > .values("id", flat=True) would return > [id,id,...]
Sounds pretty good to me. Let's do it. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers -~----------~----~----~----~------~----~------~--~---