Thanks for the correction, found this thread when Googleing for an
explanation.
On Tuesday, December 15, 2009 5:28:10 PM UTC+1, smcoll wrote:
>
> This is probably a dead thread, but... i think the answer given is
> incorrect.
>
> 'order_with_respect_to' adds an '_order' integer field to the mo
2009/12/15 smcoll :
> i'd be curious to know if anyone has seen an admin implementation for
> reordering with this field. i'd also heard some chatter a while back
> that this might be removed in future releases of Django, because it
> leans toward the "magic" end of things
I always end up making
This is probably a dead thread, but... i think the answer given is
incorrect.
'order_with_respect_to' adds an '_order' integer field to the model.
Each set of instances that share a parent object of the relation
specified by 'order_with_respect_to' get ordered as a set. So in the
example, three
On Nov 29, 4:50 pm, Continuation wrote:
> In the doc (http://docs.djangoproject.com/en/dev/ref/models/options/
> #order-with-respect-to) it is mentioned that order_with_respect_to
> marks an object as "orderable" with respect to a given field.
>
> What exactly does that mean? Can someone give m
I've been wondering this too, the docs aren't clear.
On Nov 30, 12:50 am, Continuation wrote:
> In the doc (http://docs.djangoproject.com/en/dev/ref/models/options/
> #order-with-respect-to) it is mentioned that order_with_respect_to
> marks an object as "orderable" with respect to a given field
In the doc (http://docs.djangoproject.com/en/dev/ref/models/options/
#order-with-respect-to) it is mentioned that order_with_respect_to
marks an object as "orderable" with respect to a given field.
What exactly does that mean? Can someone give me an example of how
this could be used?
The doc's
6 matches
Mail list logo