Re: Middleware error framework, high level logging for database queries

2016-07-22 Thread Curtis Maloney
On 19/07/16 05:16, Rishi Gupta wrote: Hi django-developers, (1) Middleware error framework. Zulip has some exception middleware to allow 40x errors to be returned to the user from anywhere within the view code via raising a special exception, which we’ve found to be a really nice, convenient

Middleware error framework, high level logging for database queries

2016-07-18 Thread Rishi Gupta
Hi django-developers, Hope things are going well! I work on an open-source group chat product called zulip [1], written in python and javascript and based on Django, and we have two small enhancements that we were thinking of contributing upstream. Before making pull requests, we wanted to get a