diff -r 1f1e091f0f7b docs/ref/generic-views.txt
a
|
b
|
The ``django.views.generic.create_update
|
868 | 868 | The ``django.views.generic.create_update`` module contains a set of functions |
869 | 869 | for creating, editing and deleting objects. |
870 | 870 | |
871 | | **Changed in Django development version:** |
| 871 | .. versionchanged:: 1.0 |
872 | 872 | |
873 | 873 | ``django.views.generic.create_update.create_object`` and |
874 | 874 | ``django.views.generic.create_update.update_object`` now use the new :ref:`forms |
diff -r 1f1e091f0f7b docs/ref/models/fields.txt
a
|
b
|
can change the maximum length using the
|
571 | 571 | |
572 | 572 | .. class:: FloatField([**options]) |
573 | 573 | |
574 | | **Changed in Django development version** |
| 574 | .. versionchanged:: 1.0 |
575 | 575 | |
576 | 576 | A floating-point number represented in Python by a ``float`` instance. |
577 | 577 | |
diff -r 1f1e091f0f7b docs/ref/models/instances.txt
a
|
b
|
To save an object back to the database,
|
35 | 35 | |
36 | 36 | Of course, there are some subtleties; see the sections below. |
37 | 37 | |
38 | | **New in Django development version:** The signature of the ``save()`` method |
39 | | has changed from earlier versions (``force_insert`` and ``force_update`` have |
40 | | been added). If you are overriding these methods, be sure to use the correct |
41 | | signature. |
| 38 | .. versionadded:: 1.0 |
| 39 | |
| 40 | The signature of the ``save()`` method has changed from earlier versions |
| 41 | (``force_insert`` and ``force_update`` have been added). If you are overriding |
| 42 | these methods, be sure to use the correct signature. |
42 | 43 | |
43 | 44 | Auto-incrementing primary keys |
44 | 45 | ------------------------------ |
diff -r 1f1e091f0f7b docs/ref/models/querysets.txt
a
|
b
|
ordering may well be exactly what you wa
|
176 | 176 | ordering may well be exactly what you want to do. Use ordering on multi-valued |
177 | 177 | fields with care and make sure the results are what you expect. |
178 | 178 | |
179 | | **New in Django development version:** If you don't want any ordering to be |
180 | | applied to a query, not even the default ordering, call ``order_by()`` with no |
181 | | parameters. |
| 179 | .. versionadded:: 1.0 |
182 | 180 | |
183 | | **New in Django development version:** The syntax for ordering across related |
184 | | models has changed. See the `Django 0.96 documentation`_ for the old behaviour. |
| 181 | If you don't want any ordering to be applied to a query, not even the default |
| 182 | ordering, call ``order_by()`` with no parameters. |
| 183 | |
| 184 | .. versionadded:: 1.0 |
| 185 | |
| 186 | The syntax for ordering across related models has changed. See the `Django 0.96 |
| 187 | documentation`_ for the old behaviour. |
185 | 188 | |
186 | 189 | .. _Django 0.96 documentation: http://www.djangoproject.com/documentation/0.96/model-api/#floatfield |
187 | 190 | |
… |
… |
A couple of subtleties that are worth me
|
291 | 294 | ordering can affect the results. See the note in the `distinct()`_ |
292 | 295 | section, above, for details. |
293 | 296 | |
294 | | **New in Django development version:** Previously, it was not possible to pass |
295 | | ``blog_id`` to ``values()`` in the above example, only ``blog``. |
| 297 | .. versionadded:: 1.0 |
| 298 | |
| 299 | Previously, it was not possible to pass ``blog_id`` to ``values()`` in the above |
| 300 | example, only ``blog``. |
296 | 301 | |
297 | 302 | A ``ValuesQuerySet`` is useful when you know you're only going to need values |
298 | 303 | from a small number of the available fields and you won't need the |
… |
… |
individualism.
|
314 | 319 | ``values_list(*fields)`` |
315 | 320 | ~~~~~~~~~~~~~~~~~~~~~~~~ |
316 | 321 | |
317 | | **New in Django development version** |
| 322 | .. versionadded:: 1.0 |
318 | 323 | |
319 | 324 | This is similar to ``values()`` except that instead of returning a list of |
320 | 325 | dictionaries, it returns a list of tuples. Each tuple contains the value from |
… |
… |
follow::
|
459 | 464 | c = p.hometown # Requires a database call. |
460 | 465 | |
461 | 466 | .. versionadded:: 1.0 |
462 | | The ``depth`` argument is new in the Django development version. |
| 467 | |
| 468 | The ``depth`` argument is new in Django version 1.0. |
463 | 469 | |
464 | 470 | ``extra(select=None, where=None, params=None, tables=None, order_by=None, select_params=None)`` |
465 | 471 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
diff -r 1f1e091f0f7b docs/topics/db/models.txt
a
|
b
|
for details.
|
528 | 528 | |
529 | 529 | .. _One-to-one relationship model example: http://www.djangoproject.com/documentation/models/one_to_one/ |
530 | 530 | |
531 | | **New in Django development version** |
| 531 | .. versionadded:: 1.0 |
532 | 532 | |
533 | 533 | :class:`~django.db.models.OneToOneField` fields also accept one optional argument |
534 | 534 | described in the :ref:`model field reference <ref-onetoone>`. |