Convert function-based generic views into CBV. (Upgrade to Django 1.5.4)