#NEWLINE# def clean_end_date( self ) : #NEWLINE# #INDENT# data = self . cleaned_data . get ( 'end_date' , None ) #NEWLINE# if data : #NEWLINE# #INDENT# if ( data < timezone . now ( ) ) : #NEWLINE# #INDENT# raise forms . ValidationError ( 'End date must be later than current date and time.' ) #NEWLINE# #UNINDENT# return data