On 9/23/05, Matt <[EMAIL PROTECTED]> wrote:
> I have a set of objects that need to be presented to the user in some
> specified order not related to any data in the model (let's say the
> ordering is based on the editors whim and not by object name or
> published date)

Hey Matt,

You're right -- it's a common problem, and there's a solution for it.
See the "order_with_respect_to" model parameter.

http://www.djangoproject.com/documentation/model_api/

We ought to have a model example page for that...I'll try to get that together.

Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Reply via email to