Is there a way to filter and get only specific columns ex-: get all entries within the column first_name.
+3
A:
QuerySet.values()
or QuerySet.values_list()
, e.g.:
Entry.objects.values('first_name')
Ignacio Vazquez-Abrams
2010-04-19 15:19:47