Django has a policy of warning about deprecations for two versions and finally dropping support on the third dot release.
Installing the python-django package is not the canonical way of using django, let alone running production servers. Perhaps you have a replica of the old admin templates on your project's folder which might be overriding the files shipped with core, so take a look at that first. If nothing else works, disable the csrf middleware and you're good to go. Cheers, AT On 7/18/11, bkline <bob.u...@gmail.com> wrote: > 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. > > -- Sent from my mobile device -- 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.