~ubuntu-branches/ubuntu/saucy/python-django/saucy-updates

« back to all changes in this revision

Viewing changes to docs/ref/contrib/csrf.txt

  • Committer: Package Import Robot
  • Author(s): Luke Faraone
  • Date: 2013-08-13 16:49:39 UTC
  • mfrom: (1.3.9)
  • mto: This revision was merged to the branch mainline in revision 47.
  • Revision ID: package-import@ubuntu.com-20130813164939-irlkd7hokvcgocfl
Tags: upstream-1.5.2
ImportĀ upstreamĀ versionĀ 1.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
    var csrftoken = getCookie('csrftoken');
121
121
 
122
122
The above code could be simplified by using the `jQuery cookie plugin
123
 
<http://plugins.jquery.com/project/Cookie>`_ to replace ``getCookie``:
 
123
<http://plugins.jquery.com/cookie/>`_ to replace ``getCookie``:
124
124
 
125
125
.. code-block:: javascript
126
126