<reponame>maykinmedia/mobetta<gh_stars>1-10
from django import template

register = template.Library()


@register.simple_tag
def apply(obj, method, *args):
    return getattr(obj, method)(*args)

from django import template

register = template.Library()


@register.simple_tag
def apply(obj, method, *args):
    return getattr(obj, method)(*args)