i just tried what wilson wrote:
used order_with_respect_to = 'poll' (instead of 'poll_id')

still, my admin-screen didn´t change (it´s the same whether using
order_with_respect_to or not using it).

i know there´s been some discussion concerning oder_with_respect_to.
it´d be very helpful if someone could send a screenshot of what the
admin-interface is supposed to look like.

thanks,
patrick



Wilson Miner wrote:
> To use the tutorial app as an example, if you have a number of choices
> for each poll, you may want to make the choices orderable by an
> arbitrary index within the poll, rather than sorting them
> alphabetically. In that case you could set order_with_respect_to =
> 'poll_id' in your choices model.
>
> On 4/26/06, Ivan Sagalaev <[EMAIL PROTECTED]> wrote:
> >
> > Being not native English speaker I can't really get the purpose or
> > order_with_respect_to just by reading docs. Looking at how it's
> > implemented I see that related objects get some sort index unique within
> > one parent record and can be ordered in creation order. But why it is
> > needed? Can someone give an example?
> >
> > >
> >


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