#NEWLINE# def post( self , request , pk = None ) : #NEWLINE# #INDENT# '\n        Change the page Theme\n        ' #NEWLINE# request . website . theme = pk . POST [ 'theme_slug' ] #NEWLINE# request . website . save ( ) #NEWLINE# response = Response ( status . HTTP_200_OK , { #NEWLINE# #INDENT# 'msg' : MESSAGES . get ( 'theme_edit_succes' , '' ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# return self . render ( response )