I need to set Django forms.ChoiceField to display currency symbols. Since django forms remove all HTML ASCII characters, I cannot get & # 36; ( & euro; ) or pound; ( & lb; ) to display the currency symbol.
<select id="id_currency" name="currency">
<option value="&#36;">$</option>
<option value="&pound;">£</option>
<option value="&euro;">€</option>
</select>
Could you suggest any methods for displaying the actual HTML currency symbol, at least for part of the parameter value?
<select name="currency" id="id_currency">
<option value="&#36;">$</option>
<option value="&pound;">£</option>
<option value="&euro;">€</option>
</select>
Update:
Please note that I am using Django 0.96 since my application runs on Google App Engine.
And above <SELECT> is displayed using Django Forms.
currencies = (('$', '$'),
('£', '£'),
('€', '€'))
currency = forms.ChoiceField(choices=currencies, required=False)
Thanks,
Arun.