History

0.3.2 (2015-08-28)

  • Fixed boolean logic for when to coerce values to thirds in in forms.DecimalFractionField and get_fraction_parts()

0.3.1 (2015-08-12)

  • HISTORY.rst typo fixes
  • pypi release version fix

0.3.0 (2015-08-12)

  • Added forms.FractionField which returns fractions.Fraction instances
  • Refactoring of common code with new forms.FractionField
  • Smarter checking for numeric types throughout the code
  • forms.DecimalFractionField.to_python() handles fractions.Fraction values now
  • Fixed bug handling negative numbers in quantity_to_decimal()
  • Added min_value and max_value to forms.DecimalFractionField
  • Made coerce_thirds, limit_denominator, and use_mixed_numbers params to DecimalFractionField proper named parameters and not just kwargs.

0.2.1 (2015-08-06)

  • Fixed typo in usage docs

0.2.0 (2015-08-06)

  • display_fraction template tag output is templated so that its formatting can be changed by users
  • Added new display_improper_fraction template tag to simplify the common case of wanting to only use improper fractions with no whole numbers
  • Added unicode_entity to template context for display_fraction and display_improper_fraction so that the html entity for common fractions may be used rather than <sup> and <sub> tags
  • Refactored lots of code out into smaller, reusable functions
  • Added a bunch of test cases

0.1.0 (2015-08-01)

  • First release on PyPI.