-
- return render_to_response(self.template, { 'theme' : self.theme,'slicename':slicename, 'ple_slicename':ple_slicename, 'username':username, 'ple_resources':ple_resource_list, 'nitos_resources': nitos_resource_list, 'nitos_paris_resources':nitos_paris_resource_list, 'iotlab_resources':iotlab_resource_list, 'iot_login':iot_login }, context_instance=RequestContext(request))
+ env = { 'theme' : self.theme,
+ 'slicename':slicename,
+ 'ple_slicename':ple_slicename,
+ 'username':username,
+ 'ple_resources':ple_resource_list,
+ 'nitos_resources': nitos_resource_list,
+ 'nitos_paris_resources':nitos_paris_resource_list,
+ 'iotlab_resources':iotlab_resource_list,
+ 'iot_login':iot_login,
+ 'request':self.request,
+ }
+ return render_to_response(self.template, env, context_instance=RequestContext(request))