During the development of django-polymorphic-tree it was discovered that the PolymorphicParentModelAdmin could actually be made much simpler. It features a `child_models` attribute now, so there is very little code needed to actually implement a polymorphic admin now. Also found various issues which are together fixed in this commit for pulling. |
||
|---|---|---|
| .. | ||
| management | ||
| templates/admin/polymorphic | ||
| templatetags | ||
| __init__.py | ||
| admin.py | ||
| base.py | ||
| compatibility_tools.py | ||
| manager.py | ||
| models.py | ||
| polymorphic_model.py | ||
| query.py | ||
| query_translate.py | ||
| showfields.py | ||
| tests.py | ||
| tools_for_tests.py | ||