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 /notice | |
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 'notice')
-rw-r--r-- | notice/models.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/notice/models.py b/notice/models.py index 02780ec..e2b9533 100644 --- a/notice/models.py +++ b/notice/models.py @@ -56,4 +56,8 @@ class NoticeAttachment(models.Model): object_id = models.PositiveIntegerField() content_object = generic.GenericForeignKey("content_type", "object_id") + class Meta: + verbose_name = _('notice attachment') + verbose_name_plural = _('notice attachments') + |