Skip to content

Instantly share code, notes, and snippets.

@aniruddha-adhikary
Created March 27, 2013 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aniruddha-adhikary/5256976 to your computer and use it in GitHub Desktop.
Save aniruddha-adhikary/5256976 to your computer and use it in GitHub Desktop.
Fixed Request Context
from django.shortcuts import render_to_response
from django.template import RequestContext
def about(request):
return render_to_response("about.html",
{'page_title': 'About us',
#and other stuff
},
RequestContext(request))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment