Re: not able to see models.DecimalField in template
I really don't have an answer to the question.
Instead of asking whether or not you should convert to unicode, I think you should have converted first to unicode and see what happens. If that doesn't work, then you ask for help.
It is just normal that you've used up all options you can think of before asking for help. That option you least think of in most cases works the magic.
Regards.
Sent from my BlackBerry wireless device from MTN
-----Original Message-----
From: Patrick <whyadd9@gmail.com>
Sender: django-users@googlegroups.com
Date: Sat, 4 Dec 2010 11:21:35
To: Django users<django-users@googlegroups.com>
Reply-To: django-users@googlegroups.com
Subject: not able to see models.DecimalField in template
I have 2 fields in my model:
listing.name and listing.amount
listing.name shows up in the template but listing.amount does not. Do
I have to convert it to unicode first?
Thanks,
Patrick
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home