CsrfViewMiddleware should be in MIDDLEWARE_CLASSES setting

Issue #5 resolved
Former user created an issue

When I tried to use the django-poll-system, I got errors because I put the 'django.middleware.csrf.CsrfViewMiddleware' into the TEMPLATE_CONTEXT_PROCESSORS, as described in the overview.

I was able to run the app properly when I moved it into the MIDDLEWARE_CLASSES settings list.

My suggestion is to change the installation part of the "overwiew" section to describe this better in the installation instruction.

Comments (2)

  1. Log in to comment