dtformat not being passed to template environment on view taken calls