#NEWLINE# def convert_to_ajax( page , context_instance ) : #NEWLINE# #INDENT# 'Converts Django HTML response into AJAX response represented by a dict()' #NEWLINE# response = apply_rules ( response ) #NEWLINE# return response