I am launching a development version of Django, and it looks like the filebrowser application is incompatible with trunk due to changes made to CSRF. How do I switch to the official release (1.1)?
I am working on a shared host and the fact that I am running Django now is as follows:
~/local/lib/python2.6/site-packages/ contains /django/ as well as several other folders (one for each application).
~/local/lib/python2.6/site-packages/ is in the python path.
Inside /site-packages/ there is also a symbolic link to /projectname/ , which contains the project files (manage.py, settings.py, etc.).
I use FastCGI, so in /public_html/ I have dispatch.fcgi , which is used to call django.core.servers.fastcgi.runfastcgi . The .htaccess file .htaccess used to redirect all requests to dispatch.fcgi so that Django can handle them.
I tried removing (moving from the python path) /django/ and then downloading the version of Django and putting it where the previous /django/ folder was. This caused the following error:
There is no module named CSRF.
I downloaded middleware/csrf.py from /trunk/ , which cleared the first error, but then produced other errors.
How do I go down to 1.1? Starting from scratch is not out of the question, but I would obviously prefer to avoid this if possible.
django downgrade
Peter Horne
source share