diff options
Diffstat (limited to 'website/forms.py')
-rwxr-xr-x | website/forms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/website/forms.py b/website/forms.py index 7999dea..67bfc9f 100755 --- a/website/forms.py +++ b/website/forms.py @@ -170,8 +170,8 @@ class ProposalForm(forms.ModelForm): if not ext in valid_extensions: raise forms.ValidationError( u'File not supported! Only .pdf file is accepted') - if attachment.size > (5*1024*1024): - raise forms.ValidationError('File size exceeds 5MB') + if attachment.size > (10*1024*1024): + raise forms.ValidationError('File size exceeds 10MB') return attachment |