akaihola wrote:
>>I must be a bit dumb, but I fail to understand the
doc for the
>>"order_with_respect_to" META option...
Could someone be kind enough to
>>have mercy and take time to explain slowly ?
>
>
> I've been wondering about it too, and this is what
I've found out:
> - used on the "many" side of relations
ok
> - adds an _order integer field to the model
Woops ! Not documented ???
> - automatically numbers objects' _order
Seems fine
> - shows objects ordered by _order in admin
What I saw in admin was some strange boxes at more or less
random
locations (but this was with an edit_inline... err, perhaps
it's not
supposed to be used with edit_inline ???)
> - is supposed to use fancy javascript
> to enable re-arranging objects in admin
Would be fine, but doesn't seems to work here (django 0.91,
postgres
8.1.x, mozilla Linux x86_64; en-US; rv:1.7.12)
Thanks akaihola, I'll explore this in depth later.
--
bruno desthuilliers
développeur
bruno modulix.org
http://www.modulix.com
--~--~---------~--~----~------------~-------~--~----~
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
django-users-unsubscribe googlegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---
|