Aah.. TY
On Tue, Feb 23, 2010 at 9:46 PM, Daniel Roseman wrote:
>
> On Feb 23, 8:25 pm, Dexter wrote:
> > I want to stringify that objectList with only the name field in the
> result.
> > How can I achieve this?
>
>
On Feb 23, 8:25 pm, Dexter wrote:
> I want to stringify that objectList with only the name field in the result.
> How can I achieve this?
Floor.objects.all().values_list("name", flat=True)
--
DR.
--
You received this message because you are subscribed to the Google
I want to stringify that objectList with only the name field in the result.
How can I achieve this?
On Tue, Feb 23, 2010 at 8:00 PM, Bill Freeman wrote:
> How do you know they weren't deferred? You can still access them if they
> were, IIUC. It just causes additional
How do you know they weren't deferred? You can still access them if they
were, IIUC. It just causes additional queries, behind the scenes.
On Mon, Feb 22, 2010 at 12:31 PM, Dexter wrote:
> Oh, I'm sorry,
>
> no error appears, but the queryset returns the complete objects
Oh, I'm sorry,
no error appears, but the queryset returns the complete objects with all the
fields, not only the name field
On Mon, Feb 22, 2010 at 6:30 PM, Daniel Roseman wrote:
> On Feb 22, 5:15 pm, Dexter wrote:
> > Hi,
> >
> > Im using django
On Feb 22, 5:15 pm, Dexter wrote:
> Hi,
>
> Im using django 1.1.1, and i'm trying to defer a queryset, but it doesn't
> seem to work.
> Here's my callback:
>
> def open(request, id=None):
>
> > """Callback to fire when a specific floor is opened."""
> > if
Hi,
Im using django 1.1.1, and i'm trying to defer a queryset, but it doesn't
seem to work.
Here's my callback:
def open(request, id=None):
> """Callback to fire when a specific floor is opened."""
> if request.user.is_authenticated():
> if id:
> data =
7 matches
Mail list logo