Usage

Load the template tags.

{% load roman_tags %}

Filter

Convert Arabic numerals to Roman numerals with the roman template filter.

{{ "Party like it's 1999."|roman }}

Result:

Party like it's <span class="numerals numerals-roman">MCMXCIX</span>.

Convert Roman numerals to Arabic numerals with the arabic template filter.

{{ "Where did the princes go, Richard III of England?"|arabic }}

Result:

Where did the princes go, Richard <span class="numerals numerals-arabic">3</span> of England?