#NEWLINE# def get_context_data( self , * args , **kwargs ) : #NEWLINE# #INDENT# if ( 'today' not in kwargs ) : #NEWLINE# #INDENT# kwargs [ 'today' ] = datetime . date . today ( ) #NEWLINE# #UNINDENT# if ( 'warning_date' not in kwargs ) : #NEWLINE# #INDENT# kwargs [ 'warning_date' ] = ( datetime . date . today ( ) + relativedelta ( weeks = 2 ) ) #NEWLINE# #UNINDENT# return super ( ContractDetail , self ) . get_context_data ( * args , ** kwargs )