#NEWLINE# @ cached_property #NEWLINE# def routers( self ) : #NEWLINE# #INDENT# if ( self . _routers is None ) : #NEWLINE# #INDENT# self . _routers = settings . DATABASE_ROUTERS #NEWLINE# #UNINDENT# routers = [ ] #NEWLINE# for r in self . _routers : #NEWLINE# #INDENT# if isinstance ( r , six . string_types ) : #NEWLINE# #INDENT# router = import_string ( r ) ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# router = r #NEWLINE# #UNINDENT# routers . append ( router ) #NEWLINE# #UNINDENT# return routers