'Renders the children of the module with HTML appropriate for Studio. Reordering is not supported.'

def render_children(self, context, fragment, can_reorder=False, can_add=False):

    contents = []
    paging = context.get('paging', None)
    children_count = len(self.children)
    (item_start, item_end) = (0, children_count)
    if paging:
        page_number = paging.get('page_number', 0)
        raw_page_size = paging.get('page_size', None)
        page_size = (raw_page_size if (raw_page_size is not None) else children_count)
        (item_start, item_end) = ((page_size * page_number), (page_size * (page_number + 1)))
    children_to_show = self.children[item_start:item_end]
    force_render = context.get('force_render', None)
    context['can_move'] = False
    for child_key in children_to_show:
        child_context = context.copy()
        child_context['show_preview'] = self.show_children_previews
        child_context['can_edit_visibility'] = False
        child = self.runtime.get_block(child_key)
        child_view_name = StudioEditableModule.get_preview_view_name(child)
        if (unicode(child.location) == force_render):
            child_context['show_preview'] = True
        if child_context['show_preview']:
            rendered_child = self.runtime.render_child(child, child_view_name, child_context)
        else:
            rendered_child = self.runtime.render_child_placeholder(child, child_view_name, child_context)
        fragment.add_frag_resources(rendered_child)
        contents.append({'id': unicode(child.location), 'content': rendered_child.content})
    fragment.add_content(self.runtime.render_template('studio_render_paged_children_view.html', {'items': contents, 'xblock_context': context, 'can_add': can_add, 'first_displayed': item_start, 'total_children': children_count, 'displayed_children': len(children_to_show), 'previews': self.show_children_previews}))
