def calendar(request, calendar_slug, template='schedule/calendar.html'):
 calendar = get_object_or_404(Calendar, slug=calendar_slug)
 return render_to_response(template, {'calendar': calendar}, context_instance=RequestContext(request))

def calendar ( request , calendar_slug , template = 'schedule/calendar.html' ) : calendar = get_object_or_404 ( Calendar , slug = calendar_slug ) return render_to_response ( template , { 'calendar' : calendar } , context_instance = RequestContext ( request ) )
this view returns a calendar .