#NEWLINE# def __init__( self , directory , params ) : #NEWLINE# #INDENT# 'Initialize DjangoCache instance.\n\n        :param str directory: cache directory\n        :param dict params: cache parameters\n\n        ' #NEWLINE# super ( DjangoCache , self ) . __init__ ( params ) #NEWLINE# shards = params . get ( 'SHARDS' , 8 ) #NEWLINE# timeout = params . get ( 'DATABASE_TIMEOUT' , 0.025 ) #NEWLINE# options = params . get ( 'OPTIONS' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# self . _cache = FanoutCache ( directory , shards = shards , timeout = timeout , ** options )