[Answer]-My django python functions not running correctly

1👍

In show_order view you should pass your variables to template as dictionary:

...
context_dict = {'order_items': order_items, 'order_subtotal': order_subtotal}
return render_to_response('public/order.html', context_dict, context_instance=RequestContext(request))
👤sneawo

Leave a comment