adds fix and test for when a template is not specified at all to render(). fixes #21058. by jambonrose and ianawilson
Removed unnecessary, leftover imports
Merge pull request #1579 from ianawilson/ticket_21058

Fixed #21058 -- Fixed debug view blowing up when no template is provided to the template rendering functions.

Assistance on this commit from @jambonrose.