Certainly - if a field is just an integer, use the .order_by('fieldname') or
.order_by('-fieldname') and that should do the trick nicely.

-joe

On 2/7/07, MerMer <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Is it possible to sort a query set based on an integer in one of the
> fields.
>
> MerMer
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to