mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
7cca8d56d2
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. |
||
---|---|---|
.. | ||
__init__.py | ||
models.py | ||
tests.py |