willowtreeapps/tango-core — pull request #2 by willist (2012-07-13 20:30:40+00:00)
Title: return empty dict if request.view_args is None (i.e. when an error occur...

Modify tango's context_processor so that an empty dictionary is returned when request.view_args is None. This fixes a problem in writing custom error handlers where render_template would try to update the context dictionary with None and an error would occur.