updated generic views with the new django class based views