diff options
author | Weitian LI <liweitianux@gmail.com> | 2014-04-29 01:27:31 +0800 |
---|---|---|
committer | Weitian LI <liweitianux@gmail.com> | 2014-04-29 01:29:51 +0800 |
commit | 9177e7f60868a34a50da65d5dc7fe2aac17b2804 (patch) | |
tree | 252c31625424b220c2794d5f51b50f48ad158b5a /account/models.py | |
parent | 73d343c35f8bd7f405ef642cecace834c4b6c65c (diff) | |
download | django-skaschool-9177e7f60868a34a50da65d5dc7fe2aac17b2804.tar.bz2 |
* updated transcript help_text of account/models.py
* updated ValidationError message and used named string of account/extra.py
* small changes to 'profile.html' and 'profile_update.html'
* added class Meta to notice/models.py/NoticeAttachment
Diffstat (limited to 'account/models.py')
-rw-r--r-- | account/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/account/models.py b/account/models.py index 1816c62..87ae0b5 100644 --- a/account/models.py +++ b/account/models.py @@ -72,7 +72,7 @@ class UserProfile(models.Model): # transcript: needed if undergraudate (junior and below) transcript = ContentTypeRestrictedFileField(upload_to=lambda instance, filename: u'account/{0}/{1}'.format(instance.user.username, filename), verbose_name=_("Transcript"), blank=True, null=True, - help_text=_("Undergraduate (junior and below) required to upload transcript."), + help_text=_("Undergraduate (junior and below) required to upload transcript. PDF format is recommended."), storage=OverwriteStorage(), content_types=settings.ALLOWED_CONTENT_TYPES, max_upload_size=settings.ALLOWED_MAX_UPLOAD_SIZE) |