Revision history [back]
Avatar size limits: ASKBOT_MAX_UPLOAD_FILE_SIZE in settings.py
In my settings.py, I changed ASKBOT_MAX_UPLOAD_FILE_SIZE to 10MB, as below.
ASKBOT_ALLOWED_UPLOAD_FILE_TYPES = ('.jpg', '.jpeg', '.gif', '.bmp', '.png', '.tiff')
ASKBOT_MAX_UPLOAD_FILE_SIZE = 10 * 1024 * 1024
DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
I restart server again, and I still get the file size error displayed in yellow color ("Your file is too big (1.1 MB), the maximum allowed size is 1.0 MB").
Do you have any suggestions? I don't know if it's related, but I use Amazon EC2 and RDS.
Avatar size limits: ASKBOT_MAX_UPLOAD_FILE_SIZE in settings.py
In my settings.py, I changed ASKBOT_MAX_UPLOAD_FILE_SIZE to 10MB, as below.
ASKBOT_ALLOWED_UPLOAD_FILE_TYPES = ('.jpg', '.jpeg', '.gif', '.bmp', '.png', '.tiff')
ASKBOT_MAX_UPLOAD_FILE_SIZE = 10 * 1024 * 1024
DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
I restart server again, and I still get the file size error displayed in yellow color ("Your file is too big (1.1 MB), the maximum allowed size is 1.0 MB").
Do you have any suggestions? I don't know if it's related, but I use Amazon EC2 and RDS.suggestions?
Avatar size limits: ASKBOT_MAX_UPLOAD_FILE_SIZE in settings.py
In my settings.py, I changed ASKBOT_MAX_UPLOAD_FILE_SIZE to 10MB, as below.
ASKBOT_ALLOWED_UPLOAD_FILE_TYPES = ('.jpg', '.jpeg', '.gif', '.bmp', '.png', '.tiff')
'.tiff')
ASKBOT_MAX_UPLOAD_FILE_SIZE = 10 * 1024 * 1024
#result in bytes DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
I restart server again, and I still get the file size error ("Your file is too big (1.1 MB), the maximum allowed size is 1.0 MB").
Do you have any suggestions?