##// END OF EJS Templates
Cache tag URL
neko259 -
r1897:8b64b78b default
parent child Browse files
Show More
@@ -125,6 +125,7 b' class Tag(models.Model, Viewable):'
125 125 def get_archived_thread_count(self) -> int:
126 126 return self.get_thread_count(status=STATUS_ARCHIVE)
127 127
128 @cached_result()
128 129 def get_absolute_url(self):
129 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