praekelt/jmbo — Issue #4: Template tag required to check whether commenting is allowed
Author: hedleyroos
Created: 2011-12-07 08:02:18+00:00
State: open

Refer to https://github.com/praekelt/jmbo/blob/master/jmbo/templates/jmbo/inclusion_tags/object_comments.html#L5. The predicate for commenting is a bit brutal. There is already an elegant method `can_comment` that needs to be exposed via a template tag since it takes request as parameter.