Provide a way for CBVs to be called from instances
|Reported by:||Marc Tamlyn||Owned by:||Marc Tamlyn|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
With the changes in the dispatch method to make overriding the method easier, we lost the ability to easily instantiate and call a class based view directly. There are some custom use cases where this is useful - and it's generally useful in tests. The end user perhaps has to be careful about thread safety, but nonetheless.
Ideally this would be callable after
__init__() so the view instance can have some processing done before the request is known.
This would also be useful for providing better ways to test the CBVs.