django1/django/contrib/admin/views
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 Added django.contrib.admin, with a staff_member_required decorator and code from AdminUserRequired middleware. Refs #627 2005-10-18 04:21:07 +00:00
auth.py Fixed #4040 -- Changed uses of has_key() to "in". Slight performance 2007-04-26 13:30:48 +00:00
decorators.py Fixed #4040 -- Changed uses of has_key() to "in". Slight performance 2007-04-26 13:30:48 +00:00
doc.py Fixed #2365, #3324 -- Renamed FloatField to DecimalField and changed the code 2007-05-21 01:29:58 +00:00
main.py Revert [5092], since this should only have been applied to newforms-admin. 2007-04-26 14:58:38 +00:00
template.py Copied django.forms to django.oldforms and changed all code to reference django.oldforms instead of django.forms. Updated docs/forms.txt to add 'Forwards-compatibility' section that says you should not be using django.oldforms for any new projects. 2006-12-15 18:00:50 +00:00