summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBoulder Sprinters <boulder-sprinters@djangoproject.com>2007-05-22 17:21:08 +0000
committerBoulder Sprinters <boulder-sprinters@djangoproject.com>2007-05-22 17:21:08 +0000
commit179a8c44bbe5deb80bd9ae2bc2ff65e3d0a71c03 (patch)
tree264a2236c1a9ef2f2aff738dd83678aeaf79d2ae /docs
parent12b5df62dd8670c9dae2f77c7f7312e558a65104 (diff)
boulder-oracle-sprint: Merged to [5318]
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5319 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/model-api.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt
index be5676b25e..1b1b405d35 100644
--- a/docs/model-api.txt
+++ b/docs/model-api.txt
@@ -185,7 +185,9 @@ The admin represents this as two ``<input type="text">`` fields, with
JavaScript shortcuts.
``DecimalField``
-~~~~~~~~~~~~~~
+~~~~~~~~~~~~~~~~
+
+**New in Django development version**
A fixed-precision decimal number, represented in Python by a ``Decimal`` instance.
Has two **required** arguments:
@@ -317,10 +319,17 @@ because the ``match`` applies to the base filename (``foo.gif`` and
``FloatField``
~~~~~~~~~~~~~~
+**Changed in Django development version**
+
A floating-point number represented in Python by a ``float`` instance.
The admin represents this as an ``<input type="text">`` (a single-line input).
+**NOTE:** The semantics of ``FloatField`` have changed in the Django
+development version. See the `Django 0.96 documentation`_ for the old behavior.
+
+.. _Django 0.96 documentation: http://www.djangoproject.com/documentation/0.96/model-api/#floatfield
+
``ImageField``
~~~~~~~~~~~~~~