>
> However, it seems that the defaults are to add the middleware, but not the
> context processor. Is there a specific reason for this?
>
The docs say:
In the corresponding view functions, ensure that the
'django.core.context_processors.csrf' context processor is being used.
Usually, this can be done in one of two ways:
1. Use RequestContext, which always uses
'django.core.context_processors.csrf' (no matter what your
TEMPLATE_CONTEXT_PROCESSORS setting). [...]
Cheers,
mjl
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-developers/-/dbKVgK9xRFgJ.
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-developers?hl=en.