#16704: Documentation on using csrf_token with non-Django template engine
------------------------------------------+-------------------------------
               Reporter:  vietjtnguyen@…  |          Owner:  paulcwatts
                   Type:  New feature     |         Status:  new
              Milestone:                  |      Component:  Documentation
                Version:  1.3             |       Severity:  Normal
             Resolution:                  |       Keywords:
           Triage Stage:  Accepted        |      Has patch:  1
    Needs documentation:  0               |    Needs tests:  0
Patch needs improvement:  0               |  Easy pickings:  1
                  UI/UX:  0               |
------------------------------------------+-------------------------------
Changes (by paulcwatts):

 * has_patch:  0 => 1


Comment:

 This is a first draft. My concern is it may be misleading to people who
 are using other template engines like jQuery templates because the syntax
 is different. In addition, you would also need to add a modified version
 of the code in the AJAX section to retrieve the token from the cookie.

 Documenting the HTML that the csrf_token template tag generates is useful,
 but hopefully the template syntax won't be leading someone down a wrong
 path.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16704#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to