def lookupGroupByName(self, name):
    for i in GroupEnt.objects.values():
        if (i[GROUPNAME] == [name]):
            return deepcopy(i)
    return None
def lookupGroupByName(self, name):
    for i in GroupEnt.objects.values():
        if (i[GROUPNAME] == [name]):
            return deepcopy(i)
    return None