from django import template

register = template.Library()

@register.simple_tag
def get_param(nombre_atributo):
    from amtracApp.models import Configuracion
    return getattr(Configuracion.load(), nombre_atributo)