def doc_part(request, part, ajax=''): part = documentation.get_part(part) if not part: raise Http404 return render_doc(request, 'part.html', { 'title': part.get_title_html(), 'part': part, 'object': part, }, ajax=ajax)
def doc_part(request, part, ajax=""): part = documentation.get_part(part) if not part: raise Http404 return render_doc( request, "part.html", { "title": part.get_title_html(), "part": part, "object": part, }, ajax=ajax, )