#NEWLINE# @ login_required #NEWLINE# @ app . route ( '/group/<group_id>/events/' ) #NEWLINE# def group_event_list( group_id ) : #NEWLINE# #INDENT# group = get_object_or_404 ( Group , pk = group_id ) #NEWLINE# event_list = group . get_relations ( Event ) #NEWLINE# return render_template ( 'sentry/group/event_list.html' , ** { #NEWLINE# #INDENT# 'page' : 'events' , #NEWLINE# 'group' : group , #NEWLINE# 'event_list' : event_list , #NEWLINE# #UNINDENT# } )