import_module called with an argument parentmod and submod, evaluates to false. raise an ViewDoesNotExist exception with an argument string "Could not import '%s'. Parent module %s does not exist.",
raise ViewDoesNotExist ( "Could not import '%s'. Parent module %s does not exist." % ( lookup_view , mod_name ) )