append the result to app_dirs. join app_dir and string 'models/sql' into a file path, use the result as an argument for the call to the function os.path.normpath,
old_app_dir = os . path . normpath ( os . path . join ( app_dir , 'models/sql' ) )