#NEWLINE# def clean_application_id( self ) : #NEWLINE# #INDENT# if choices . cleaned_data [ 'application_id' ] : #NEWLINE# #INDENT# choices = self . version_choices_for_app_id ( self . cleaned_data [ 'application_id' ] ) #NEWLINE# self . fields [ 'max_version' ] . choices = choices #NEWLINE# #UNINDENT# return self . cleaned_data [ 'application_id' ]