diff options
author | Weitian LI <liweitianux@gmail.com> | 2014-05-14 11:20:53 +0800 |
---|---|---|
committer | Weitian LI <liweitianux@gmail.com> | 2014-05-14 11:20:53 +0800 |
commit | a827199fb168aa676e3fdbdcfdb04a021f44f3f7 (patch) | |
tree | 3471b0d0918c8355ef361e9e8778ad1dee4a05f2 /notice | |
parent | 9634f99cda0e3464491e1ce124a136176a69d4f3 (diff) | |
download | django-skaschool-a827199fb168aa676e3fdbdcfdb04a021f44f3f7.tar.bz2 |
* upaded display format of model Notice 'notice/models.py'
* updated 'archive/urls.py', shortened the url, added a redirect
* updated poster image: 'skaschool-poster.jpg'
* updated the lecturer information of 'page/introduction.html'
Diffstat (limited to 'notice')
-rw-r--r-- | notice/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/notice/models.py b/notice/models.py index 63b17b2..92b34e5 100644 --- a/notice/models.py +++ b/notice/models.py @@ -26,7 +26,7 @@ class Notice(models.Model): ordering = ['-pubtime', 'id'] def __unicode__(self): - return u'Notice at %s' % self.pubtime.isoformat() + return u'Notice %s: %s' % (self.category.category_name, self.title) def show_pubtime(self): # used in 'list_notice.html' template |