Rewrote the entry_detail view as class-based view.