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