This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Description
As of Django 1.11, django.Template.render() no longer accepts a Context object (changelog entry here).
Meanwhile, current example for adding message references to request context uses the old way:
t = loader.get_template('500.html') # You need to create a 500.html template.
return HttpResponseServerError(t.render(Context({
'request': request,
})))