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
- simplified render_to_response with RequestContext by jasongreen 2 years, 4 months ago
- render_to_response wrapper by Magus 5 years, 3 months ago
- render_with decorator by tobias 3 years, 8 months ago
- render_to by asolovyov 3 years, 11 months ago
- Use MEDIA_URL in 500 error page by bthomas 3 years, 6 months ago
Comments
See also: the same thing, but with more discussion.
#