mirror of https://github.com/django/django.git
f4132140f5
The regression was caused by using .none() when querying for related models, and the origin field's value was None. This resulted in missing custom related manager subclass as .none() returns plain QuerySet. This isn't backport from master, in master .none() correctly preserves the queryset's class. Patch provided by Simon Charette, with some minor polish by committer. |
||
---|---|---|
.. | ||
__init__.py | ||
models.py | ||
tests.py |