#NEWLINE# def make_invalid( self , invitation = None ) : #NEWLINE# #INDENT# invitation = ( invitation or invitation . invitation ) #NEWLINE# invitation . date_invited = ( datetime . datetime . now ( ) - datetime . timedelta ( ( EXPIRE_DAYS + 10 ) ) ) #NEWLINE# invitation . save ( ) #NEWLINE# return invitation