Hi,

How do I get extra user data into a COD confirm page?

I have additional info (user_data) for each user account as per 
https://docs.djangoproject.com/en/dev/topics/auth/#storing-additional-information-about-users

so,    user_data = Contact.objects.get(user=request.user.id)

I need to display some of this info 
in http://127.0.0.1:8000/checkout/cod/confirm/

so, I have a local copy of base_confirm.html 
(in templates/shop/checkout/base_confirm.html)

My problem is that I need to pass the 'user_data' dictionary to 
base_confirm.html. Is there any way of doing this without 
copying/re-writing everything 
in satchmo/satchmo/apps/payment/views/confirm.py ?

Many thanks,
Thomas

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/satchmo-users/-/x9Y5qUQWDdQJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to