Template Tags

There are 2 main tags: for converting integers and for rendering currency chooser template.

Usage

Like with all django templates tag - add {% load multi_currency_tags %} to desired template

Next to render currency chooser place {% currency chooser %} anywhere in template, preferably in some base template.

To convert integers to selected currency use local_currency tag like so {% local_currency object.price %}.

Members

multi_currency.templatetags.multi_currency_tags.currency_chooser(context)[source]

Renders currency chooser from template.

multi_currency.templatetags.multi_currency_tags.local_currency(context, value)[source]

For non default languages converts value with currency

Parameters:value (str) – Price value
Returns:Formatted and (optionaly) converted value
Return type:str