I am trying to return html via and Ajax call and I have the following snippet of code in my view
if request.is_ajax(): t = loader.get_template(\'frontend/sc
First parameter to RequestContext() should be request, so update line in your code as
RequestContext()
request
html = t.render(RequestContext(request, {'dishes': dishes})