I'm trying to use the mptt library for a simple nested comment system.
My Model
class Comment(MPTTModel):
event = models.ForeignKey(Event)
author = models.CharField(max_length=60)
comment = models.TextField()
added = models.DateTimeField(default=timezone.now())
parent = TreeForeignKey('self', null=True, blank=True, related_name='children')
class MPTTMeta:order_insertion_by = ['added']
Right now, if I use {% recursetree nodes %} template tag, it displays the nodes in ascending time based on 'added'. I want to display the root notes by descending time, the newest comments first. I tried sorting nodes so it is descending, but recursetree does not follow that order. Is there a way to specify a descending ordering? I tried ['-added'], but it does not work.