I have installed filebrowser for Django (not filebrowser3) and when I try to upload a file I recieve the following error:
403 Forbidden
CSRF verification failed. Request aborted.
More information is available with DEBUG=True.
The same error occurs when I try to create a new folder which shows that the problem is that filebrowser cannot create files/direcories within my uploads directory. I am using the default settings and have manually created the /media/uploads
directory with it's permissions set as 755
.
If I upload a file to the directory then file-browser admin page states:
1 Item Folder: 0 Image: 1
I cannot view the image that I have uploaded.
I have the PIL and sorl.thumbnail modules installed.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With