Event detail issue

get_object in event detail view was not returning event object. Because of this rsvp ajax was not working, fixed it