fixed HistoryDetailview, now Class-based view