[Answer]-Django MPTT, recursively adding child node, giving wrong get_ancestors() results

1👍

OK, just figured out I can simply run DesignCategory.objects.rebuild() after the recursive function

Leave a comment