Python/Django generator of document of test.