'Find and return a group by name.
Raise 404 if not found.'

def find_group(self, name):

    group = orm.Group.find(self.db, name=name)
    if (group is None):
        raise web.HTTPError(404, 'No    such    group:    %s', name)
    return group
