##// END OF EJS Templates
Added docstring
neko259 -
r1651:507a67ac 3.2.2 default
parent child Browse files
Show More
@@ -180,6 +180,10 b' class Post(models.Model, Viewable):'
180 return [datetime_to_epoch(self.last_edit_time)]
180 return [datetime_to_epoch(self.last_edit_time)]
181
181
182 def get_view_params(self, *args, **kwargs):
182 def get_view_params(self, *args, **kwargs):
183 """
184 Gets the parameters required for viewing the post based on the arguments
185 given and the post itself.
186 """
183 thread = self.get_thread()
187 thread = self.get_thread()
184
188
185 css_classes = [CSS_CLS_POST]
189 css_classes = [CSS_CLS_POST]
General Comments 0
You need to be logged in to leave comments. Login now