1
0
mirror of https://github.com/django/django.git synced 2024-12-26 02:56:25 +00:00
django/tests/regressiontests/forms
Malcolm Tredinnick 92c35a0617 Fixed #2365, #3324 -- Renamed FloatField to DecimalField and changed the code
to return Decimal instances in Python for this field. Backwards incompatible
change.

Added a real FloatField (stores floats in the database) and support for
FloatField and DecimalField in newforms (analogous to IntegerField).

Included decimal.py module (as django.utils._decimal) from Python 2.4. This is
license compatible with Django and included for Python 2.3 compatibility only.

Large portions of this work are based on patches from Andy Durdin and Jorge
Gajon.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@5302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21 01:29:58 +00:00
..
__init__.py Split django.newforms into forms, fields, widgets, util. Also moved unit tests from docstrings to a standalone module in tests/regressiontests/forms, to save docstring memory overhead, keep code readable and fit our exisitng convention 2006-10-28 20:34:37 +00:00
localflavor.py Fixed #3946 -- Added Swiss localflavor. Thanks, charly.wilhelm@gmail.com. 2007-05-01 03:10:10 +00:00
models.py Removed unit tests added in [5196]; didn't notice the tests in modeltests/model_forms. 2007-05-12 12:22:50 +00:00
regressions.py Changed the fix from [5231] so that the backwards-incompatibility is made more 2007-05-14 16:24:51 +00:00
tests.py Fixed #2365, #3324 -- Renamed FloatField to DecimalField and changed the code 2007-05-21 01:29:58 +00:00