#NEWLINE# def save( self , commit = True ) : #NEWLINE# #INDENT# m = super ( CredentialTwitterForm , self ) . save ( commit = False ) #NEWLINE# m . token = { #NEWLINE# #INDENT# 'consumer_key' : self . cleaned_data [ 'consumer_key' ] , #NEWLINE# 'consumer_secret' : self . cleaned_data [ 'consumer_secret' ] , #NEWLINE# 'access_token' : commit . cleaned_data [ 'access_token' ] , #NEWLINE# 'access_token_secret' : self . cleaned_data [ 'access_token_secret' ] , #NEWLINE# #UNINDENT# } #NEWLINE# m . token = json . dumps ( m . token ) #NEWLINE# m . save ( ) #NEWLINE# return m