Indeed :) . I'd never have guessed that. Thanks,
Axel.
Am 08.09.2011 um 17:47 schrieb Shawn Milochik:
> I think your order by needs to be "-start" instead of "start," then
> take [0] instead of [:1]. That will get the newest entry that matches
> your query.
>
> --
> You received this message
I think your order by needs to be "-start" instead of "start," then
take [0] instead of [:1]. That will get the newest entry that matches
your query.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
2 matches
Mail list logo