I haven't done this for the list page, because the create command's
result message is at least minimally useful and I haven't made a
mechanism for displaying those messages at the standard URIs.
svn path=/trunk/packages/sipb-xen-www/; revision=407
return templates.list(searchList=[d])
elif back == 'info':
machine = validation.testMachineId(user, fields.getfirst('machine_id'))
- d = infoDict(user, machine)
- d['result'] = result
- return templates.info(searchList=[d])
+ return ({'Status': '302',
+ 'Location': '/info?machine_id=%d' % machine.machine_id},
+ "You shouldn't see this message.")
else:
raise InvalidInput('back', back, 'Not a known back page.')