Dear All
I am trying to locate the csrf middleware. I have Django 1.1.1 but it
doesn't seem to have the module as documented [1]:
$ python manage.py shell
>>> import django
>>> django.VERSION
(1, 1, 1, 'final', 0)
>>> import django.contrib.csrf.middleware.CsrfMiddleware
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named CsrfMiddleware
>>> import django.contrib.csrf.middleware.CsrfViewMiddleware
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named CsrfViewMiddleware
>>> import django.contrib.csrf.middleware.CsrfResponseMiddleware
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named CsrfResponseMiddleware
>>> import django.contrib.csrf.middleware
>>>
Please can anyone help me resolve this problem?
Best wishes
Ivan
[1] csrf for 1.1
http://docs.djangoproject.com/en/1.1/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-us...@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.