def django_dottedstring_imports(django_root_dir):
 pths = []
 pths.append(misc.get_path_to_toplevel_modules(django_root_dir))
 pths.append(django_root_dir)
 package_name = (os.path.basename(django_root_dir) + '.settings')
 env = {'DJANGO_SETTINGS_MODULE': package_name, 'PYTHONPATH': os.pathsep.join(pths)}
 ret = eval_script('django_import_finder.py', env=env)
 return ret

def django_dottedstring_imports ( django_root_dir ) : pths = [ ] pths . append ( misc . get_path_to_toplevel_modules ( django_root_dir ) ) pths . append ( django_root_dir ) package_name = ( os . path . basename ( django_root_dir ) + '.settings' ) env = { 'DJANGO_SETTINGS_MODULE' : package_name , 'PYTHONPATH' : os . pathsep . join ( pths ) } ret = eval_script ( 'django_import_finder.py' , env = env ) return ret
get all the necessary django modules specified in settings .