call function update with path as the argument, for every path in settings.LOCALE_PATHS, extend basedirs list with previous items.
basedirs . extend ( [ upath ( path ) for path in settings . LOCALE_PATHS ] )