Render (with RequestContext)

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

  1. render_template shortcut by zeeg 7 years, 1 month ago
  2. render_with decorator by tobias 5 years, 7 months ago
  3. render_to by asolovyov 5 years, 9 months ago
  4. Debug SQL Query in Template by dario.agliottone 1 year, 11 months ago
  5. Template Query Debug by insin 7 years, 1 month ago

Comments

(Forgotten your password?)