get_list_or_404 ordering in django

Posted by Cato Johnston on Stack Overflow See other posts from Stack Overflow or by Cato Johnston
Published on 2010-04-17T12:11:34Z Indexed on 2010/04/17 12:23 UTC
Read the original article Hit count: 272

Filed under:

Hi

I'm trying to order the results of the get_list_or_404 method

get_list_or_404(...).order_by('name')

doesn't seem to work

What's the way to do this?

© Stack Overflow or respective owner

Related posts about django