I've just caught same error.
The deal is that my version of django is 1.1.1, but {% scrf_token %}
appeared in django v.1.2. In earlier versions you simply should add
the line 'django.contrib.csrf.middleware.CsrfMiddleware', to
MIDDLEWARE_CLASSES in your settings.py file (but make sure that this
line was added BEFORE session middleware clas). There is no need to
add any tokens, django will add csrf protection info to every POST
form.
For additional info see http://docs.djangoproject.com/en/1.0/ref/contrib/csrf/

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

Reply via email to