django-polymorphic/polymorphic/tests
trbs 1c110ae4bb fix error with .defer and child models that use the same parent
When using .defer on a PolymorphicQuerySet with multiple childs that
subclass from the same polymorphic parent model yield an error like:

>>> Base.objects.defer('ModelY___field_y')
Traceback (most recent call last):
...
FieldDoesNotExist: ModelX has no field named 'field_y'

(cherry picked from commit 9500a21f82)
2018-04-16 11:08:27 +02:00
..
__init__.py fix error with .defer and child models that use the same parent 2018-04-16 11:08:27 +02:00
test_admin.py Added plain tests for admin importing 2017-02-03 22:05:13 +01:00
test_multidb.py Drop support for Django <1.8, Python <2.7 2017-07-10 09:08:11 +03:00
test_orm.py fix error with .defer and child models that use the same parent 2018-04-16 11:08:27 +02:00
test_regression.py Moved polymorphic models back to tests/__init__.py, for Django 1.6- 2017-01-09 15:12:26 +01:00
test_utils.py Ensure consistent ordering in testing reset_polymorphic_ctype 2018-04-16 11:08:27 +02:00