1 2 3 4 5 | from django.shortcuts import render_to_response
from django.template.context import RequestContext
def render(request,template,context={}):
return render_to_response(template,context,context_instance=RequestContext(request))
|
More like this
- Debug SQL Query in Template by dario.agliottone 1 year ago
- simplified render_to_response with RequestContext by jasongreen 3 years, 4 months ago
- Template Query Debug by insin 6 years, 2 months ago
- render_with decorator by tobias 4 years, 8 months ago
- render_to by asolovyov 4 years, 11 months ago
Comments
See also: the same thing, but with more discussion.
#