019e5490fb
Right now TabbedView has additional .render() call. Thus get_context_data() for TabbedView returns already rendered response with rendered=True flag, which makes it read-only. This blocks Profiler middleware in modifying the response. For example, we cannot add any messages to response from tabbed view. Simple views have no additional rendering. It was done because of issues with raising redirect exceptions from tabbed views long ago. Looks like now there is no such issues and raising redirects from tabbed views is covered with unit tests. To ensure that nothing broke, a test with a tab raising Http302 was added - it still redirects to the url provided as before. Change-Id: I37076abc15008a523f37da0d09b5b041ef77844e Closes-Bug: #1595095 |
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
views.py |