I'm finding myself always passing a 'user' variable to every call to render_to_response
A lot of my renders looks like this
return render_to_response('some/template', {'my':context,'user':user})
Is there a way to automatically send this 'user' variable without manually adding it to the context each time a method is called?
First, read this. Then:
def some_view(request):
# ...
return render_to_response('my_template.html',
my_data_dictionary,
context_instance=RequestContext(request))