Author: mtredinnick
Date: 2007-10-14 22:58:20 -0500 (Sun, 14 Oct 2007)
New Revision: 6520

Modified:
   django/branches/queryset-refactor/docs/db-api.txt
Log:
queryset-refactor: Added a bunch of "new in development version" markers for
recent additions.


Modified: django/branches/queryset-refactor/docs/db-api.txt
===================================================================
--- django/branches/queryset-refactor/docs/db-api.txt   2007-10-15 03:47:10 UTC 
(rev 6519)
+++ django/branches/queryset-refactor/docs/db-api.txt   2007-10-15 03:58:20 UTC 
(rev 6520)
@@ -533,6 +533,11 @@
 
 ...since the ``Blog`` model has no default ordering specified.
 
+**New in Django development version:** The syntax for ordering across related
+models has changed. See the `Django 0.96 documentation`_ for the old behaviour.
+
+.. _Django 0.96 documentation: 
http://www.djangoproject.com/documentation/0.96/model-api/#floatfield
+
 There's no way to specify whether ordering should be case sensitive. With
 respect to case-sensitivity, Django will order results however your database
 backend normally orders them.
@@ -607,6 +612,9 @@
         >>> Entry.objects.values('blog_id')
         [{'blog_id': 1}, ...]
 
+**New in Django development version:** Previously, it was not possible to pass
+``blog_id`` to ``values()`` in the above example, only ``blog``.
+
 A ``ValuesQuerySet`` is useful when you know you're only going to need values
 from a small number of the available fields and you won't need the
 functionality of a model instance object. It's more efficient to select only
@@ -1563,9 +1571,9 @@
 You can compose statements of arbitrary complexity by combining ``Q`` objects
 with the ``&`` and ``|`` operators. You can also use parenthetical grouping.
 
-``Q`` objects can also be negated using the ``~`` operator, allowing for
-combined lookups that combine both a normal query and a negated (``NOT``)
-query::
+**New in Django development version:** ``Q`` objects can also be negated using
+the ``~`` operator, allowing for combined lookups that combine both a normal
+query and a negated (``NOT``) query::
 
     Q(question__startswith='Who') | ~Q(pub_date__year=2005)
 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to