|  |  | @@ -114,7 +114,7 @@ def set_group_photo_comment_list(photo_id): | 
            
            
              | 114 | 114 |      from group.models import PhotoCommentInfo | 
            
            
              | 115 | 115 |      photo_comments = PhotoCommentInfo.objects.filter(photo_id=photo_id) | 
            
            
              | 116 | 116 |      photo_comments = [comment.comment_info for comment in photo_comments] | 
            
            
              | 117 |  | -    r.set(GROUP_PHOTO_COMMENT_LIST % photo_id, json.dumps(photo_comments)) | 
            
            
              |  | 117 | +    r.set(GROUP_PHOTO_COMMENT_LIST % photo_id, json.dumps(photo_comments, cls=DjangoJSONEncoder)) | 
            
            
              | 118 | 118 |      return photo_comments | 
            
            
              | 119 | 119 |   | 
            
            
              | 120 | 120 |   | 
            
            
            
            
              |  |  | @@ -128,7 +128,7 @@ def set_group_photo_thumbup_list(photo_id): | 
            
            
              | 128 | 128 |      from group.models import PhotoThumbUpInfo | 
            
            
              | 129 | 129 |      photo_thumbups = PhotoThumbUpInfo.objects.filter(photo_id=photo_id, thumbup=True) | 
            
            
              | 130 | 130 |      photo_thumbups = [thumbup.thumbup_info for thumbup in photo_thumbups] | 
            
            
              | 131 |  | -    r.set(GROUP_PHOTO_THUMB_UP_LIST % photo_id, json.dumps(photo_thumbups)) | 
            
            
              |  | 131 | +    r.set(GROUP_PHOTO_THUMB_UP_LIST % photo_id, json.dumps(photo_thumbups, cls=DjangoJSONEncoder)) | 
            
            
              | 132 | 132 |      return photo_thumbups | 
            
            
              | 133 | 133 |   | 
            
            
              | 134 | 134 |   |