aboutsummaryrefslogtreecommitdiffstats
path: root/notice
diff options
context:
space:
mode:
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