def get_module_class(class_path):
mod_name, cls_name = class_path.rsplit('<STR_LIT:.>', <NUM_LIT:1>)<EOL>try:<EOL><INDENT>mod = import_module(mod_name)<EOL><DEDENT>except ImportError as e:<EOL><INDENT>raise ImproperlyConfigured(('<STR_LIT>' % (mod_name, e)))<EOL><DEDENT>return getattr(mod, cls_name)<EOL>
imports and returns module class from ``path.to.module.Class``
argument