def mchoicefield(form, field, default):
 if (field in form.initial):
  cm = form.initial[field]
 else:
  cm = form.fields[field].initial
 if (cm == '*'):
  form.initial[field] = default
 elif (',' in cm):
  form.initial[field] = cm.split(',')
 else:
  form.initial[field] = [cm]

def mchoicefield ( form , field , default ) : if ( field in form . initial ) : cm = form . initial [ field ] else : cm = form . fields [ field ] . initial if ( cm == '*' ) : form . initial [ field ] = default elif ( ',' in cm ) : form . initial [ field ] = cm . split ( ',' ) else : form . initial [ field ] = [ cm ]
utility method to convert comma delimited field .