A set of template tags and form fields for handling and displaying fractions on a Django website.

Today v1.0.0 of django-fractions was released. A bug was reported where the new DecimalFractionField model field was not playing nicely with forms. In the end, the best solution involved no longer subclassing Django's built in DecimalField because there were just too many differences at this point.

The field now returns a FractionField for the form field by default and test cases have been added to ensure the correct form field is returned and to ensure functionality previously provided by DecimalField is in place and functioning.

django-fractions

Created:
Aug 01, 2015
Page updated:
Aug 01, 2015
Latest News:

View this project on:

github - git