[ 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
- interactive high-level object-oriented language (Python2 version)
-
- 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)