Add a decorator to add a plain_view property to a class-based view.
Add an assertion for redirects that doesn't try to follow them.