I've got a field called 'invoice_type' which is a ChoiceField.

In my template I'm trying to pull out the 'humanized' invoice type by
using {{ object.invoice_type.get_invoice_type_display }} but django's
not happy.  I'm guessing it's because of the invoice[underscore]type
syntax I used?

Any workarounds?

Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to