def _ext_backend_paths(self):
paths = []<EOL>for backend in settings.DATABASES.values():<EOL><INDENT>package = backend['<STR_LIT>'].split('<STR_LIT:.>')[<NUM_LIT:0>]<EOL>if package != '<STR_LIT>':<EOL><INDENT>backend_pkg = __import__(package)<EOL>backend_dir = os.path.dirname(backend_pkg.__file__)<EOL>paths.append(os.path.dirname(backend_dir))<EOL><DEDENT><DEDENT>return paths<EOL>
Returns the paths for any external backend packages.