# HG changeset patch # User neko259 # Date 2016-09-24 17:14:21 # Node ID 507a67acbf2e8dc287ba796fa7e5700f8f725bac # Parent 8a0acd9fa627be44a0f165b2bd6c27dad74e8d83 Added docstring diff --git a/boards/models/post/__init__.py b/boards/models/post/__init__.py --- a/boards/models/post/__init__.py +++ b/boards/models/post/__init__.py @@ -180,6 +180,10 @@ class Post(models.Model, Viewable): return [datetime_to_epoch(self.last_edit_time)] def get_view_params(self, *args, **kwargs): + """ + Gets the parameters required for viewing the post based on the arguments + given and the post itself. + """ thread = self.get_thread() css_classes = [CSS_CLS_POST]