def load_class(path):

    try:
        mod_name, klass_name = path.rsplit('.', 1)
        mod = import_module(mod_name)
    except AttributeError as e:
        raise ImproperlyConfigured(u'Error importing %s: "%s"' % (mod_name, e))

    try:
        klass = getattr(mod, klass_name)
    except AttributeError:
        raise ImproperlyConfigured('Module "%s" does not define a "%s" class' % (mod_name, klass_name))

    return klass
Remove all resolutions, set them to `t` (index, name)
dataset/ETHPy150Open niwinz/django-greenqueue/greenqueue/utils.py/load_class--crossover with--dataset/ETHPy150Open edgewall/trac/contrib/sourceforge2trac.py/TracDatabase.setResolutionList