Show More
@@ -125,6 +125,7 b' class Tag(models.Model, Viewable):' | |||||
125 | def get_archived_thread_count(self) -> int: |
|
125 | def get_archived_thread_count(self) -> int: | |
126 | return self.get_thread_count(status=STATUS_ARCHIVE) |
|
126 | return self.get_thread_count(status=STATUS_ARCHIVE) | |
127 |
|
127 | |||
|
128 | @cached_result() | |||
128 | def get_absolute_url(self): |
|
129 | def get_absolute_url(self): | |
129 | return reverse('tag', kwargs={'tag_name': self.get_name()}) |
|
130 | return reverse('tag', kwargs={'tag_name': self.get_name()}) | |
130 |
|
131 |
General Comments 0
You need to be logged in to leave comments.
Login now