How can I detect whether a form was submitted via an AJAX post or just a browser submit in Pylons?
For example:
if 'name' in request.POST:
#Do something
Would be true if 'name' was submitted via ajax or just a regular post. How can I differentiate?
Thank you.