Django

Code

Ticket #6247: 6247.diff

File 6247.diff, 0.8 kB (added by arien, 1 year ago)
  • docs/middleware.txt

    old new  
    154154 
    155155.. _Authentication in Web requests: ../authentication/#authentication-in-web-requests 
    156156 
     157django.contrib.csrf.middleware.CsrfMiddleware 
     158--------------------------------------------- 
     159 
     160**New in Django development version** 
     161 
     162Adds protection against Cross Site Request Forgeries by adding hidden form 
     163fields to POST forms and checking requests for the correct value. See the 
     164`Cross Site Request Forgery protection documentation`_. 
     165 
     166.. _`Cross Site Request Forgery protection documentation`: ../csrf/ 
     167 
    157168django.middleware.transaction.TransactionMiddleware 
    158169--------------------------------------------------- 
    159170