Properly render docs pages with missing index.html in the path.

This commit is contained in:
Magnus Hagander
2010-01-11 17:25:47 +01:00
parent 2982541900
commit 4e9c4ef7fc
2 changed files with 4 additions and 1 deletions

View File

@ -22,4 +22,6 @@ def docpage(request, version, typ, filename):
'page_content': page.content,
'doc_index_filename': 'index.html',
})
def docsrootpage(request, version, typ):
return docpage(request, version, typ, 'index')