Thank you Andreas Kuhne, progress

So this {% load get_cost %}{% do_cost b.name avn avd %} is not getting any 
error on the template but as simple as the below is there is no return

from django import template
from django.conf import settings
from django.utils.html import escape
register = template.Library()

@register.simple_tag
def do_cost( name, avn, avd, *args, **kwargs ):
    avn = kwargs['avn']
    avd = kwargs['avd']
    name = kwargs['name']
    return name


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/76f303e0-84b4-4042-aad3-93e18bbfb863%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to