Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

proposal: render_to change #5

Open
jerzyk opened this Issue · 1 comment

2 participants

@jerzyk

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.:
@render_to
def my_view(request, template='template.html'):
return {}, template

@montylounge
Owner

Sure, let me think about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.