[Bug 822916] Switch to class based generic views.