asks for a key to order by, which can be a lambda, or you could use
> the operator module to get attributes of the object(s) in your
> QuerySet object to provide the key.
>
> My $0.02,
> Brandon
>
> On Jan 29, 12:38 pm, lollerikken wrote:
>> Hello, sorry about my Engli
Hello, sorry about my English, but I hope that it is understandable
I am having some trouble using order_by with Django.
I think it would be easier to explain what I want with an example:
fx if I have this table:
key ref
1 a
2 g
3 a
4 c
5 g
6 g
I would like to sort it like this:
2 matches
Mail list logo