Ticket #12350: 12350.diff
File 12350.diff, 720 bytes (added by , 15 years ago) |
---|
-
docs/intro/tutorial04.txt
49 49 50 50 * Since we are creating a POST form (which can have the effect of modifying 51 51 data), we unfortunately need to worry about Cross Site Request Forgeries. 52 Thankfully, you don't have to worry too hard, because Django comes with 52 Thankfully, you don't have to worry too hard, because Django comes with a 53 53 very easy-to-use system for protecting against it. In short, all POST 54 54 forms that are targetted at internal URLs need the ``{% csrf_token %}`` 55 55 template tag adding.