def task_created(request):
 if (not test_user_authenticated(request)):
  return login(request, next='/cobbler_web/task_created', expired=True)
 t = get_template('task_created.tmpl')
 html = t.render(RequestContext(request, {'version': remote.extended_version(request.session['token'])['version'], 'username': username}))
 return HttpResponse(html)

def task_created ( request ) : if ( not test_user_authenticated ( request ) ) : return login ( request , next = '/cobbler_web/task_created' , expired = True ) t = get_template ( 'task_created.tmpl' ) html = t . render ( RequestContext ( request , { 'version' : remote . extended_version ( request . session [ 'token' ] ) [ 'version' ] , 'username' : username } ) ) return HttpResponse ( html )
lets the user know what to expect for event updates .