Mercurial > public > sg101
changeset 338:e28aee19f7c9
Fix typo that referred to non-existant setting MAX_AVATAR_SIZE.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 26 Feb 2011 18:50:59 +0000 |
parents | b4f0980506e0 |
children | b871892264f2 |
files | gpp/bio/forms.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gpp/bio/forms.py Sat Feb 26 06:46:28 2011 +0000 +++ b/gpp/bio/forms.py Sat Feb 26 18:50:59 2011 +0000 @@ -62,7 +62,7 @@ if f is not None: if f.size > settings.MAX_AVATAR_SIZE_BYTES: raise forms.ValidationError("Please upload a file smaller than " - "%s bytes." % settings.MAX_AVATAR_SIZE) + "%s bytes." % settings.MAX_AVATAR_SIZE_BYTES) try: self.image = parse_image(f) except IOError: