#NEWLINE# def get_from_form( self , instance , values ) : #NEWLINE# #INDENT# '\n        standard HTML submits checkboxes of a form only when they are checked.\n        So if the field is not contained in values, we take False as value.\n        ' #NEWLINE# instance [ values . field . name ] = values . get ( self . field . name , False )