Mercurial > public > sg101
diff gpp/forums/models.py @ 82:bc3978f023c2
Forums: started the ability to display topics inside a forum.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 23 Aug 2009 04:04:29 +0000 |
parents | e356ea79a7a2 |
children | 5b4c812b448e |
line wrap: on
line diff
--- a/gpp/forums/models.py Sun Aug 23 00:14:52 2009 +0000 +++ b/gpp/forums/models.py Sun Aug 23 04:04:29 2009 +0000 @@ -81,6 +81,10 @@ def __unicode__(self): return self.name + @models.permalink + def get_absolute_url(self): + return ('forums-topic_index', [self.pk]) + def post_count_update(self): """ Call this function to notify the topic instance that its post count