First time here? Check out the FAQ!
0

how to attach other file types apart from images

Does askbot support attachment of other files apart from images, I'm trying to attach a document to a post and it doesn't work, any suggestions

megabosx's avatar
53
megabosx
asked 2012-08-09 14:23:40 -0500
edit flag offensive 0 remove flag close merge delete

Comments

Define "doesn't work". Do you get an error message? Does it just fail silently? Can you post a screenshot?

todofixthis's avatar todofixthis (2012-08-09 14:54:01 -0500) edit
add a comment see more comments

1 Answer

1

Add values to ASKBOT_ALLOWED_UPLOAD_FILE_TYPES variable in your settings.py to allow upload of other file types.

Evgeny's avatar
13.2k
Evgeny
answered 2012-08-09 18:47:31 -0500
edit flag offensive 0 remove flag delete link

Comments

What if you are paying askbot for hosting and don't have access?

Jason Goemaat's avatar Jason Goemaat (2013-07-16 14:54:46 -0500) edit

Hi Jason, please tell me which files you want to allow. We will enable this on the backend. In the next version we'll add a setting that you can control. Thanks!

Evgeny's avatar Evgeny (2013-07-16 14:56:58 -0500) edit

Could you please update the answer with how this setting can be controlled now? Was it added to the web UI?

Daniel Darabos from Lynx Analytics's avatar Daniel Darabos from Lynx Analytics (2015-04-01 05:18:20 -0500) edit
add a comment see more comments