django-mptt/django-mptt — Issue #170: Make insertion_order_by support DESC ordering
Author: craigds
Created: 2012-02-06 16:52:26+00:00
State: open

It'd be helpful to be able to do this:

order_insertion_by = ['-created_at']

At present order_insertion_by uses field names as is, so it won't understand that the '-' means DESC ordering.

This current behaviour is particularly annoying since the ordering can't currently be reversed at runtime when using recursive tags, because {{ children }} is a variable not a tag. ( #167 )