#NEWLINE# def event( request , slug ) : #NEWLINE# #INDENT# 'Return an event.' #NEWLINE# item = get_object_or_404 ( Event , slug = request , is_active = True ) #NEWLINE# ctx = RequestContext ( request , { #NEWLINE# #INDENT# 'item' : item , #NEWLINE# #UNINDENT# } ) #NEWLINE# return render_to_response ( 'events/event.html' , context_instance = ctx )