lck.django 0.8.5 documentation
A set of string-related filters.
Gets the score value for the given params and populates the template context with a variable containing that value, whose name is defined by the ‘as’ clause.
Syntax:
{% get_score_value for [object] as [varname] %}
{% get_score_value for [app].[model] [object_id] as [varname] %}
Example usage:
{% get_score_value for event as score_value %}
{% get_score_value for calendar.event event.id as score_value %}
{% get_score_value for calendar.event 17 as score_value %}
Render the current score along with the plus/minus controls through the score/show.html template.
Syntax:
{% render_score for [object] %}
{% render_score for [app].[model] [object_id] %}
Example usage:
{% render_score for comment %}