#NEWLINE# def _set_require_auth( self , auth = True ) : #NEWLINE# #INDENT# ( profile , created ) = UserProfile . objects . get_or_create ( user = self . user ) #NEWLINE# profile . require_auth = auth #NEWLINE# profile . save ( )