[virtualcommons-developer] commit/vcweb: alllee: no need to escape text in Python as KO already doe
Status: Beta
Brought to you by:
alllee
|
From: <com...@bi...> - 2013-03-21 00:18:14
|
1 new commit in vcweb: https://bitbucket.org/virtualcommons/vcweb/commits/fda36cbf963b/ changeset: fda36cbf963b user: alllee date: 2013-03-21 01:18:13 summary: no need to escape text in Python as KO already does that via the text binding affected #: 1 file diff -r 7d3ba834b10c9b0bd7d415e9cc447ed67c377724 -r fda36cbf963bad78b3dfc3117af3dc0553ce1bee vcweb/core/models.py --- a/vcweb/core/models.py +++ b/vcweb/core/models.py @@ -852,7 +852,7 @@ if include_round_data: experiment_dict['allRoundData'] = self.all_round_data() experiment_dict['chatMessages'] = [chat_message.to_dict() for chat_message in self.all_chat_messages] - experiment_dict['messages'] = [escape(log) for log in self.activity_log_set.order_by('-date_created')] + experiment_dict['messages'] = [unicode(log) for log in self.activity_log_set.order_by('-date_created')] experiment_dict['experimenterNotes'] = self.current_round_data.experimenter_notes return experiment_dict Repository URL: https://bitbucket.org/virtualcommons/vcweb/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |