On 8/11/06, Antonio Cavedoni <[EMAIL PROTECTED]> wrote:
> Fair enough, but if the field is invisible, how does one specifies
> said ordering? For example, if I have a list of 5 items, and I
> suddenly decide that item 4 should be on top of the list, how do I
> move it up?

I think, since you're basically wanting to specify the sort order
arbitrarily, you should add a column to your model, set the values for
the order you want, then order on it.  :)

I assume you'll have a rule for where to put new records.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to