#NEWLINE# def set_default_locale( self ) : #NEWLINE# #INDENT# locale = to_language ( default_locale ( self . instance ) ) #NEWLINE# for field in self . fields . values ( ) : #NEWLINE# #INDENT# field . default_locale = locale #NEWLINE# field . widget . default_locale = locale