Django

Code

Changeset 5308

Show
Ignore:
Timestamp:
05/21/07 15:45:33 (2 years ago)
Author:
adrian
Message:

Added 'New in Django development version' notes to docs/model-api.txt regarding DecimalField? and FloatField? (see [5302])

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/model-api.txt

    r5302 r5308  
    186186 
    187187``DecimalField`` 
    188 ~~~~~~~~~~~~~~ 
     188~~~~~~~~~~~~~~~~ 
     189 
     190**New in Django development version** 
    189191 
    190192A fixed-precision decimal number, represented in Python by a ``Decimal`` instance. 
     
    318320~~~~~~~~~~~~~~ 
    319321 
     322**Changed in Django development version** 
     323 
    320324A floating-point number represented in Python by a ``float`` instance. 
    321325 
    322326The admin represents this as an ``<input type="text">`` (a single-line input). 
     327 
     328**NOTE:** The semantics of ``FloatField`` have changed in the Django 
     329development version. See the `Django 0.96 documentation`_ for the old behavior. 
     330 
     331.. _Django 0.96 documentation: http://www.djangoproject.com/documentation/0.96/model-api/#floatfield 
    323332 
    324333``ImageField`` 
     
    752761                             the `Database API reference`_) that limit the 
    753762                             available admin choices for this object. Use this 
    754                              with functions from the Python ``datetime`` module  
     763                             with functions from the Python ``datetime`` module 
    755764                             to limit choices of objects by date. For example:: 
    756765