I have urls.py which routes a HttpRequest to a particular view function. These view functions all return a dictionary object. How can I pass all these return objects through a function which dumps to Json and wraps in an HttpResponse?

Thanks