This is some ugly code that makes auth.archive() work with smartgrid: if len(request.args) > 3 and request.args[-4] == 'owner' and\ request.args[-3] == 'edit' and request.args[-2]=='owner'\ and form[2].process(onsuccess=auth.archive).accepted: pass
Surely there must be a better way. Any and all hints gratefully accepted.