django-polymorphic/polymorphic/tests
trbs 9500a21f82 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'
2017-08-30 21:17:05 +02:00
..
__init__.py fix error with .defer and child models that use the same parent 2017-08-30 21:17:05 +02:00
test_admin.py Added plain tests for admin importing 2017-02-03 22:05:13 +01:00
test_contrib.py Remove test imports that Django 1.5- required 2017-08-01 12:17:10 +02: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 2017-08-30 21:17:05 +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 tests: Clean up and simplify test_reset_polymorphic_ctype 2017-08-29 19:41:42 +03:00