feel free to disable the csrf middleware and all problems should go away...

>reply to message:
>date: 18.07.2011 13:45:56
>from: "bkline" <bob.u...@gmail.com>
>to: "Django users" <django-users@googlegroups.com>
>subject: [<django-users.googlegroups.com>] Django site broken after Debian 
>upgrade
>
>I just upgraded my Debian server, which brought the python-django
>package up to version 1.2, and now any attempt to post to the database
>tables results in a CSRF failure.  I'm using the admin pages to do
>just about everything, so it not clear how to apply the instructions
>in the Django CSRF docs [1].  Those documents say "The utility script
>extras/csrf_migration_helper.py can help to automate the finding of
>code and templates that may need to be upgraded. It contains full help
>on how to use it."  That script is not among the many files installed
>by the package.  Right now I've got things working by hacking the core
>code and disabling the lines which are returning the failure, but
>that's clearly not a good long-term solution.  Breaking sites like
>this with a dot-release which isn't backwards compatible is
>disappointing, to put it politely.  Unless I can get this working the
>right way I'm going to have to dump Django and port the site to some
>other package.
>
>Package info:
>
>ii  python-django                        1.2.3-3+squeeze1
>
>[1] https://docs.djangoproject.com/en/1.2/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.
>

-- 
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