Hide DeprecationWarning for old function based generic views.