def get_fields(self, request, obj=None):
    site_list = self.get_site_list(request)
    if (request.user.is_superuser or (len(site_list) > 1)):
        return ('name', 'site', 'root_node')
    else:
        return ('name', 'root_node')
def get_fields(self, request, obj=None):
    site_list = self.get_site_list(request)
    if (request.user.is_superuser or (len(site_list) > 1)):
        return ('name', 'site', 'root_node')
    else:
        return ('name', 'root_node')