OK, I think I'm taking the cake today for quantity of dumb questions. I figured this one out by looking at the request.env.request_method and request.ajax variables.
- [web2py] How to test weheh
- [web2py] How to test for form creation vs. acceptance with CRUD... weheh
- [web2py] How to test for form submission vs. form creation ... weheh

