Hide DeprecationWarning for old function based generic views.
Merge pull request #2371 from jezdez/remove-deprecated-view

Hide DeprecationWarning for old function based generic views.