On Fri, 2021-08-20 at 04:50 +0000, Raxel Gutierrez wrote:
> Add utils.py file to create template filters and tags that can be used
> by most if not all objects in Patchwork. In particular, add a template
> filter to get the plural verbose name of a model and add a template tag
> that returns whether an object is editable by the current user. These
> utilities will be used in an upcoming patch that adds the `addressed`
> status label to patch and cover comments.
> 
> Signed-off-by: Raxel Gutierrez <ra...@google.com>

Need to see the caller but otherwise LGTM.

Reviewed-by: Stephen Finucane <step...@that.guru>

_______________________________________________
Patchwork mailing list
Patchwork@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to