You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: