@block_user_agents
@require_GET
def without_parent(request):
 docs = Document.objects.filter_for_list(locale=request.LANGUAGE_CODE, noparent=True)
 paginated_docs = paginate(request, docs, per_page=DOCUMENTS_PER_PAGE)
 context = {'documents': paginated_docs, 'count': docs.count(), 'noparent': True}
 return render(request, 'wiki/list/documents.html', context)

@ block_user_agents @ require_GET def without_parent ( request ) : docs = Document . objects . filter_for_list ( locale = request . LANGUAGE_CODE , noparent = True ) paginated_docs = paginate ( request , docs , per_page = DOCUMENTS_PER_PAGE ) context = { 'documents' : paginated_docs , 'count' : docs . count ( ) , 'noparent' : True } return render ( request , 'wiki/list/documents.html' , context )
lists wiki documents without parent .