1. Rafael A
  2. django-poll-system
  3. Issues
Issue #5 resolved

CsrfViewMiddleware should be in MIDDLEWARE_CLASSES setting

Anonymous 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