Thank you Andreas Kuhne, progress

 
So this {% load get_cost %}{% do_cost b.name avn avd %} was working quite 
happily but for some reason is now complaining 

Exception Type: TemplateSyntaxError 
 Exception Value: 

Caught KeyError while rendering: 'avn'


Exception Location claims to be    get_cost.py in do_cost, line 10  which 
is avn = kwargs['avn']

but the exception is in the template line {% load get_cost %}{% do_cost 
b.name avn avd %}



-- 
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/8d9d18dd-c8cb-494c-a2b8-8b06b64c40d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to