def call_method(obj, method_name, *args):
    """Call method_name from obj with *args.

    Using in template:
    {% call_method obj 'get_something' '10' %}
    """
    method = getattr(obj, method_name)
    return method(*args)