I\'m start using Django-MPTT app to get a tree-based approach on my Django-site pages.
For ex. I have pages with sub pages:
Trance:
def get_absolute_url(self): return '/'.join([x['slug'] for x in self.get_ancestors(include_self=True).values()])