FileSize | 52374 |
MD5 | AAFE4DBAF0E336BBB518A611B5D48B3D |
PackageDescription | Seamless Polymorphic Inheritance for Django Models
Django-polymorphic simplifies using inherited models in Django projects. When a
query is made at the base model, the inherited model classes are returned.
.
Features:
* Full admin integration.
* ORM integration:
+ Support for ForeignKey, ManyToManyField, OneToOneField descriptors.
+ Support for proxy models.
+ Filtering/ordering of inherited models (ArtProject___artist).
+ Filtering model types: instance_of(...) and not_instance_of(...)
+ Combining querysets of different models (qs3 = qs1 | qs2)
+ Support for custom user-defined managers.
* Uses the minimum amount of queries needed to fetch the inherited models.
* Disabling polymorphic behavior when needed. |
PackageMaintainer | Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
PackageName | python-django-polymorphic |
PackageSection | python |
PackageVersion | 1.3-1 |
SHA-1 | 329A59157DBFB2E73CB0C49FF383F92FEF0B41CC |
SHA-256 | F3C6FA8693EB6BAECA66D000278715DF96E5EC5C9DD7B772EB8A8BC77365BF28 |