[ 原始碼: django-polymorphic ]
套件:python3-django-polymorphic(3.1-2)
python3-django-polymorphic 的相關連結
Debian 的資源:
下載原始碼套件 django-polymorphic:
- [django-polymorphic_3.1-2.dsc]
- [django-polymorphic_3.1.orig.tar.gz]
- [django-polymorphic_3.1-2.debian.tar.xz]
維護小組:
外部的資源:
- 主頁 [github.com]
相似套件:
Seamless Polymorphic Inheritance for Django Models (Python3 version)
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.
This package contains the Python 3 version of the library.
其他與 python3-django-polymorphic 有關的套件
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-django
- High-level Python web development framework
-
- dep: python3-pkg-resources
- Package Discovery and Resource Access using pkg_resources
-
- rec: python3-django-extra-views
- Complementary class-based generic views for Django (Python3 version)
-
- sug: python-django-polymorphic-doc
- Seamless Polymorphic Inheritance for Django Models (Documentation)