proposal: render_to change #5

jerzyk opened this Issue Feb 8, 2010 · 1 comment


None yet
2 participants

jerzyk commented Feb 8, 2010

at this moment @render_to decorator, requires template name as an argument.

I suppose it will be nice to have an option to leave it empty.

This is useful when a view function is accepting a template as an argument, e.g.:
def my_view(request, template='template.html'):
return {}, template


montylounge commented Mar 9, 2010

Sure, let me think about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment