def add_parent(self, parent_id, name, mode):
        name = sanitize_unicode(name)
        parent_id = canonicalize_to_id(parent_id)
        b = TreeParentTree(key1=self.id, key2=parent_id)
        b.name = name
        b.mode = mode
        b.save()
Return an instance of the paginator for this view.
dataset/ETHPy150Open ebroder/anygit/anygit/backends/mongodb.py/Tree.add_parent--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/views/generic/list.py/MultipleObjectMixin.get_paginator