Changed direct_to_template to shortcuts.render.