#37032: Documentation for django.template.context_processors.csrf is incorrect 
or
inaccurate
-------------------------------------+-------------------------------------
     Reporter:  Christian Finnberg   |                    Owner:  (none)
         Type:  Uncategorized        |                   Status:  closed
    Component:  Documentation        |                  Version:  dev
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  csrf, context        |             Triage Stage:
  processor                          |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

 * resolution:   => invalid
 * status:  new => closed

Comment:

 The docs are correct, the template tag gets the `csrf_token` which is
 added by the context processor. However, this context processor is enabled
 by default regardless of your settings. See
 
https://docs.djangoproject.com/en/6.0/ref/templates/api/#:~:text=In%20addition%20to%20these,option
-- 
Ticket URL: <https://code.djangoproject.com/ticket/37032#comment:1>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019d8b104f55-5d510a19-4c64-4a60-a159-56d5ff83f644-000000%40eu-central-1.amazonses.com.

Reply via email to