#NEWLINE# def clean_end( self ) : #NEWLINE# #INDENT# 'Ensure end >= start.' #NEWLINE# start = self . cleaned_data [ 'start' ] #NEWLINE# end = self . cleaned_data [ 'end' ] #NEWLINE# if ( start and end and ( end < start ) ) : #NEWLINE# #INDENT# raise forms . ValidationError ( 'Must not be earlier than start date.' ) #NEWLINE# #UNINDENT# return end