aboutsummaryrefslogtreecommitdiffstats
path: root/notice
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-05-14 11:20:53 +0800
committerWeitian LI <liweitianux@gmail.com>2014-05-14 11:20:53 +0800
commita827199fb168aa676e3fdbdcfdb04a021f44f3f7 (patch)
tree3471b0d0918c8355ef361e9e8778ad1dee4a05f2 /notice
parent9634f99cda0e3464491e1ce124a136176a69d4f3 (diff)
downloaddjango-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.py2
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