[ buster ]
[ 源代码: django-polymorphic ]
软件包:python-django-polymorphic(2.0.3-1)
python-django-polymorphic 的相关链接
Debian 的资源:
下载源码包 django-polymorphic:
- [django-polymorphic_2.0.3-1.dsc]
- [django-polymorphic_2.0.3.orig.tar.gz]
- [django-polymorphic_2.0.3-1.debian.tar.xz]
维护小组:
外部的资源:
- 主页 [github.com]
相似软件包:
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.
其他与 python-django-polymorphic 有关的软件包
|
|
|
|
-
- dep: python
- 交互式高级面向对象语言(Python2 版本)
-
- dep: python-django
- High-level Python web development framework (Python 2 version)
-
- dep: python-pkg-resources
- Package Discovery and Resource Access using pkg_resources
-
- rec: python-django-extra-views
- Complementary class-based generic views for Django (Python2 version)
-
- sug: python-django-polymorphic-doc
- Seamless Polymorphic Inheritance for Django Models (Documentation)