Closed turian closed 13 years ago
I would like to be able to retrieve the children in a fixed order, e.g. the order they were created.
I would also like to retrieve descendants in a fixed order.
Is there a way to guarantee this?
Hi Turian,
ordering can be implemented in your concrete classes. There are many way to do this, you could start looking at: https://docs.djangoproject.com/en/dev/ref/models/options/#ordering
I would like to be able to retrieve the children in a fixed order, e.g. the order they were created.
I would also like to retrieve descendants in a fixed order.
Is there a way to guarantee this?