#NEWLINE# def jobs_at( request , company_slug , tvar_name = None ) : #NEWLINE# #INDENT# ' Displays a job list by company, jobtype is optional.\n    ' #NEWLINE# queryset = Job . active . filter ( company_slug = company_slug ) #NEWLINE# if tvar_name : #NEWLINE# #INDENT# jobtype = get_object_or_404 ( Type , var_name = tvar_name ) #NEWLINE# queryset = queryset . filter ( jobtype = jobtype ) #NEWLINE# extra_context [ 'selected_jobtype' ] = jobtype #NEWLINE# #UNINDENT# return object_list ( request , queryset = queryset )