django1/django/db/models
Malcolm Tredinnick 14c8e5227a Changed the row count value returned from update queries in some cases.
If an update only affected an ancestor model (not the child), we were
returning 0 for the number of rows updated. This could have been
misleading if the value is used to detect an update occuring. So we now
return the rowcount from the first non-trivial query that is executed
(if any). Still a slight compromise, but better than what we had.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9966 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-04 05:33:23 +00:00
..
fields Changed the handling of as_sql() versus _as_sql() in Query/QuerySet from r9928. 2009-03-04 04:56:20 +00:00
sql Changed the row count value returned from update queries in some cases. 2009-03-04 05:33:23 +00:00
__init__.py Fixed #7210 -- Added F() expressions to query language. See the documentation for details on usage. 2009-01-29 10:46:36 +00:00
aggregates.py Fixed #10182 -- Corrected realiasing and the process of evaluating values() for queries with aggregate clauses. This means that aggregate queries can now be used as subqueries (such as in an __in clause). Thanks to omat for the report. 2009-02-23 14:47:59 +00:00
base.py Fixed #9775 -- Fixed an oversight from r9601 and allow direct attribute 2008-12-09 06:49:40 +00:00
expressions.py Fixed #7210 -- Added F() expressions to query language. See the documentation for details on usage. 2009-01-29 10:46:36 +00:00
loading.py Added tests for corner case with deleting where objects are deleted in the wrong order. 2008-06-21 20:55:17 +00:00
manager.py Fixed #3566 -- Added support for aggregation to the ORM. See the documentation for details on usage. 2009-01-15 11:06:34 +00:00
options.py Removed django.db.models.options.Options.one_to_one_field. 2008-12-11 07:31:41 +00:00
query.py To avoid an unfortunately common user-error, rename QuerySet.as_sql(). 2009-03-01 04:12:30 +00:00
query_utils.py Fixed #7210 -- Added F() expressions to query language. See the documentation for details on usage. 2009-01-29 10:46:36 +00:00
related.py Removed oldforms, validators, and related code: 2008-08-27 07:19:44 +00:00
signals.py Major refactoring of django.dispatch with an eye towards speed. The net result is that signals are up to 90% faster. 2008-08-06 15:32:46 +00:00