Fixed #21595 -- Call as_view() automatically when given a CBV in urlpatterns.