Askbot is a Django/Python Q&A forum. **Contributors README**: https://github.com/ASKBOT/askbot-devel#how-to-contribute. Commercial hosting of Askbot and support are available at https://askbot.com
ASKBOT_MAX_UPLOAD_FILE_SIZE = 1024 * 1024 * 50 #result in bytes
And then used the docker file to deploy.
Also tested deploying with askbot-setup and python manage.py xxxxxx(From this answer).
On both cases the website worked.
However, it is not allowing the upload of files that are not image.
What is the proper way to do it?
If there isn't a way, Do you think it would be good to put effort on it? A change that would improve Askbot?
I am testing Askbot and tried to upload files that are not image, following the instruction given on askbot Q&A:
https://askbot.org/en/question/11431/does-askbot-allow-to-upload-file-that-is-not-image/
So i cloned the 0.11.x Branch and changed "settings.py" line
ASKBOT_ALLOWED_UPLOAD_FILE_TYPES
to:ASKBOT_ALLOWED_UPLOAD_FILE_TYPES = ('.jpg', '.jpeg', '.gif', '.bmp', '.png', '.tiff', '.pdf', '.zip', '.rar', '.7z')
And the size to:
ASKBOT_MAX_UPLOAD_FILE_SIZE = 1024 * 1024 * 50 #result in bytes
And then used the docker file to deploy. Also tested deploying with
askbot-setup
andpython manage.py xxxxxx
(From this answer). On both cases the website worked.However, it is not allowing the upload of files that are not image.
What is the proper way to do it?
If there isn't a way, Do you think it would be good to put effort on it? A change that would improve Askbot?