django1/django/db/models
Anssi Kääriäinen 7f892cedba [1.6.x] Fixed related model lookup regression
It has been possible to use models of wrong type in related field
lookups. For example pigs__in=[a_duck] has worked. Changes to
ForeignObject broke that.

It might be a good idea to restrict the model types usable in lookups.
This should be done intentionally, not accidentally and without any
consideration for deprecation path.

Backpatch of 7cca8d56d2 from master.
2013-07-26 13:17:50 +03:00
..
fields [1.6.x] Fixed related model lookup regression 2013-07-26 13:17:50 +03:00
sql Fixed #14930 -- values_list() failure on qs ordered by extra column 2013-06-18 23:56:51 +03:00
__init__.py Added TransactionTestCase.available_apps. 2013-06-10 11:24:10 +02:00
aggregates.py Refactored qs.add_q() and utils/tree.py 2013-03-13 10:44:49 +02:00
base.py Refactored ValidationError to allow persisting error params and error codes as the exception bubbles up 2013-06-18 08:01:17 -04:00
constants.py Refactored qs.add_q() and utils/tree.py 2013-03-13 10:44:49 +02:00
deletion.py Fixed #19385 again, now with real code changes 2013-03-24 18:40:40 +02:00
expressions.py Refactored qs.add_q() and utils/tree.py 2013-03-13 10:44:49 +02:00
loading.py Added TransactionTestCase.available_apps. 2013-06-10 11:24:10 +02:00
manager.py Fixed #19326 -- Added first() and last() methods to QuerySet 2013-05-21 18:52:28 +03:00
options.py [1.6.x] Fixed ._meta.pk_index() virtual field failure 2013-07-25 16:35:04 +03:00
query.py Support 'pyformat' style parameters in raw queries, Refs #10070 2013-06-28 06:59:10 +03:00
query_utils.py Converted a list comprehension into a generator expression in query_utils.py 2013-04-25 12:22:16 -05:00
related.py Replaced an antiquated pattern. 2013-05-17 18:08:58 +02:00
signals.py Fixed #11398 - Added a pre_syncdb signal 2013-05-23 01:09:22 -04:00