FileSize | 31498 |
MD5 | 6D6022288572DE8A57DEEF22C9B18029 |
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 | 0.5.4-1 |
SHA-1 | EB8A5771F8160770A9EBB7D9054A56FCEA0B89DB |
SHA-256 | 46174155BC7203E9F7B125F8B714214FA58076E3D6CDA1F5BD70B6EB6376FCFD |