django_baseline/__init__.py
def resolve_class(class_path):
    """
    Load a class by a fully qualified class_path,
    eg. myapp.models.ModelName
    """

    modulepath, classname = class_path.rsplit('.', 1)
    module = __import__(modulepath, fromlist=[classname])
    return getattr(module, classname)
def resolve_class(class_path):
    modulepath, classname = class_path.rsplit('.', 1)
    module = __import__(modulepath, fromlist=[classname])
    return getattr(module, classname)
def resolve_class ( class_path ) : modulepath , classname = class_path . rsplit ( '.' , 1 ) module = __import__ ( modulepath , fromlist = [ classname ] ) return getattr ( module , classname )
Load a class by a fully qualified class_path,
    eg. myapp.models.ModelName
Load a class by a fully qualified class_path eg . myapp . models . ModelName