#NEWLINE# def get_connection_factory( path = None , options = None ) : #NEWLINE# #INDENT# if ( path is None ) : #NEWLINE# #INDENT# path = getattr ( settings , 'DJANGO_REDIS_CONNECTION_FACTORY' , 'django_redis.pool.ConnectionFactory' ) #NEWLINE# #UNINDENT# cls = util . load_class ( path ) #NEWLINE# return cls ( ( options or { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) )