##// END OF EJS Templates
If thread is specified in the post template, do not load it again
neko259 -
r1670:c9facaf1 default
parent child Browse files
Show More
@@ -169,7 +169,7 b' class Post(models.Model, Viewable):'
169 169 Gets the parameters required for viewing the post based on the arguments
170 170 given and the post itself.
171 171 """
172 thread = self.get_thread()
172 thread = kwargs.get('thread') or self.get_thread()
173 173
174 174 css_classes = [CSS_CLS_POST]
175 175 if thread.is_archived():
General Comments 0
You need to be logged in to leave comments. Login now