Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # grab your variables from the request
- nameFirst = context.REQUEST.get('nameFirst', None)
- nameLast = context.REQUEST.get('nameLast', None)
- # call your zsql method, passing it your variables
- context.queries.updateRegistrant(nameFirst=nameFirst, nameLast=nameLast)
- #build your redirect path
- redirURL = 'order_summary?liid='+str(liid)+'&editKey='+editKey
- #return your redirect path
- return context.REQUEST.RESPONSE.redirect(redirURL)
Add Comment
Please, Sign In to add comment