def get_module_class(class_path):
    mod_name, cls_name = class_path.rsplit('.', 1)

    try:
        mod = import_module(mod_name)
    except ImportError as e:
        raise ImproperlyConfigured(('Error importing module %s: "%s"' % (mod_name, e)))

    return getattr(mod, cls_name)
Test private method to convert start and end times based off
dataset/ETHPy150Open mariocesar/sorl-thumbnail/sorl/thumbnail/helpers.py/get_module_class--crossover with--dataset/ETHPy150Open pinax/symposion/symposion/schedule/tests/test_forms.py/ScheduleSectionFormTests.test_get_start_end_times