#NEWLINE# def validate_key( self , key ) : #NEWLINE# #INDENT# '\n        Django normally warns about maximum key length, but we error on it.\n        ' #NEWLINE# if ( len ( self ) > 250 ) : #NEWLINE# #INDENT# raise ValueError ( 'Cache key is longer than the maxmimum 250 characters: {}' . format ( key ) ) #NEWLINE# #UNINDENT# return super ( MySQLCache , self ) . validate_key ( key )