def list_history_record(request, record_id):
 history = History.objects
 if (not request.user.is_superuser):
  history.filter(submitter=request.user)
 history = history.get(id=record_id)
 return render('editor/list_history_record.mako', request, {'record': history})

def list_history_record ( request , record_id ) : history = History . objects if ( not request . user . is_superuser ) : history . filter ( submitter = request . user ) history = history . get ( id = record_id ) return render ( 'editor/list_history_record.mako' , request , { 'record' : history } )
list a job submission history .