#NEWLINE# def post( self , request , * args , **kwargs ) : #NEWLINE# #INDENT# user = self . user_manager . get_user_by_username ( request . args [ 'username' ] ) #NEWLINE# if user . is_authenticated : #NEWLINE# #INDENT# message = 'User already created.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . user_manager . create_user ( ** request . args ) #NEWLINE# message = 'User created successfully.' #NEWLINE# #UNINDENT# return message