I am currently passing 'request_path': request.get_full_path() through render_to_response. I was wondering is this is really nessccary since I was told the it’s unnesscary and the context processor takes care of that but {{ get_full_path }} is empty.
Please advise.
You need to add
django.core.context_processors.requestin your template context processors settings which is not there by default and render the response withRequestContext. LikeThis will add
requestvariable in your template, then you can use{{ request.get_full_path() }}in a template.