def board_all(request): """Display a single board with a list of all its topic. :param request: A :class:`pyramid.request.Request` object. :type request: pyramid.request.Request :rtype: dict """ board = board_get(request) topics = board_topics_get(request).all() override = _get_override(request, board=board) return locals()
def board_show(request): """Display a single board with its related topics. :param request: A :class:`pyramid.request.Request` object. :type request: pyramid.request.Request :rtype: dict """ board = board_get(request) topics = board_topics_get(request).limit(10) override = _get_override(request, board=board) return locals()