class based view and ajax listing