URLconfs should accept classes as views
|Reported by:||Ben Firshman||Owned by:||Ben Firshman|
|Cc:||Ben Firshman||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
If a URLconf is passed a class, and isinstance(cls, type) is true, it should instantiate the class on each request and call it. This makes class based views (#6735) trivially thread safe.