"CSRF verification failed" when attempting to upload a file or create a folder with filebrowser for Django "CSRF verification failed" when attempting to upload a file or create a folder with filebrowser for Django django django

"CSRF verification failed" when attempting to upload a file or create a folder with filebrowser for Django


You are probably using the development version of Django, which includes quite a lot of extra CRSF security. However it's not released yet so external products probably aren't compatible. You should use the 1.1 version of Django instead.


The Djangodocs have more information about the new Django CSRF requirements:


Add to you settings.py this 2 lines:

‘django.middleware.csrf.CsrfViewMiddleware’,‘django.middleware.csrf.CsrfResponseMiddleware’,