forked from expo/troggle
tidy render() calls
This commit is contained in:
@@ -29,7 +29,7 @@ def troggle404(request): # cannot get this to work. Handler404 in urls.py not ri
|
||||
'''
|
||||
context = RequestContext(request)
|
||||
#context['caves'] = Cave.objects.all()
|
||||
return render_to_response('404.html', context.flatten())
|
||||
return render(request, ('404.html', context.flatten()))
|
||||
|
||||
def showrequest(request):
|
||||
return HttpResponse(request.GET)
|
||||
|
||||
Reference in New Issue
Block a user