Show More
@@ -169,7 +169,7 b' class Post(models.Model, Viewable):' | |||||
169 | Gets the parameters required for viewing the post based on the arguments |
|
169 | Gets the parameters required for viewing the post based on the arguments | |
170 | given and the post itself. |
|
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 | css_classes = [CSS_CLS_POST] |
|
174 | css_classes = [CSS_CLS_POST] | |
175 | if thread.is_archived(): |
|
175 | if thread.is_archived(): |
General Comments 0
You need to be logged in to leave comments.
Login now