http://docs.djangoproject.com/en/dev/ref/models/querysets/#only-fields
Franklin
On Sun, Aug 1, 2010 at 11:14 AM, Kaushik Vemula
<kaushik.vemula@gmail.com> wrote:
> Hi,
> when I use objects.all(), I get all the columns in a table. How to
> limit it to some specific columns of the table?
>
> Thank you.
>
> --
> 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.
>
>
--
Art, writing, journal: http://einspruch.com
Comics: http://themoonfellonme.com
--
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.
No comments:
Post a Comment