Ajax post requests CSRF fix

Editor Rating

posted on apr 04 by djangolinks

ajax crsf django jquery

  • ID: 69
  • Title:

    Ajax post requests CSRF fix

  • Url: http://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ajax
  • Description: Adding this to a javascript file that is included on your site will ensure that AJAX POST requests that are made via jQuery will not be caught by the CSRF protection.
  • Total Votes: 0

Latest Premium Django Jobs from Djangojobs.Net

x3 Python Software Developers + (Visa Sponsorship)
Senior Web Developer (Python / Django)
Software Architect Hippo
Python / Django Developer - Baltimore - ...
Python Developers - Remote in US