Say I have the following code: try: context_dict = {} context = RequestContext(request) ... except Exception as e: return render_to_response('error.html', context_dict, context)
...then how do I handle the exception without a context? Should I use the render function instead of render_to_response in the exception handler? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e204886e-69e2-4bdf-9951-54c581d55d49%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.