First time here? Check out the FAQ!
1

Does askbot allow to upload file that is not image?

When I try to upload files to the website, It forces me to choose one of the image format (jpq, png, etc.) So the question is, is there some hidden configuration somewhere that loosen the restriction? I want to allow freely upload to the site

Vu Quang Chien's avatar
43
Vu Quang Chien
asked 2013-08-19 21:57:31 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

There is a setting in the settings.py file ASKBOT_ALLOWED_UPLOAD_FILE_TYPES that does what you want.

We will implement a setting in the UI "settings" panel where you'll be able to enter allowed file extensions or completely remove the limitation.

Evgeny's avatar
13.2k
Evgeny
answered 2013-08-20 03:44:13 -0500
edit flag offensive 0 remove flag delete link

Comments

Is there a way to allow any file type ?

Ghislain Lévêque's avatar Ghislain Lévêque (2016-03-29 04:10:25 -0500) edit

Not in the current version, but can be implemented.

Evgeny's avatar Evgeny (2016-06-15 05:55:36 -0500) edit

Any update on this, seems I still cannot upload files other than images.

Luke Liu's avatar Luke Liu (2018-07-27 11:34:54 -0500) edit
add a comment see more comments