-def document_list(request, filters=None):
- chunks = Chunk.objects.order_by('book__title', 'book', 'number')
-
- chunks = slug_filter(chunks, request.GET.get('user', None), 'user', User, 'username')
- chunks = slug_filter(chunks, request.GET.get('stage', None), 'stage', Chunk.tag_model, 'slug')
-
- chunks_list = helpers.ChunksList(chunks)
+def document_list(request):
+ return render(request, 'catalogue/document_list.html')