Modified index, paste_details in to class based views