There is still a TODO, which I cannot solve myself:
In views.py:138 I return None if the check for a proper template fails.
There should be something else, because the following code (printtemplates, mako renderer, pyramid) don't handle None well. So, for now there will be a server error after the file type check fails.
added validation if there is actually some data to validate. This should be required in the form at first submission, because it is not advised to use a non-existing template.
PR for issue #4.
There is still a TODO, which I cannot solve myself:
In views.py:138 I return
None
if the check for a proper template fails.There should be something else, because the following code (printtemplates, mako renderer, pyramid) don't handle
None
well. So, for now there will be a server error after the file type check fails.