Skip to content
Sections
>> Trisquel >> Balíky >> etiona >> python >> python-django-polymorphic
etiona  ]
[ Zdroj: django-polymorphic  ]

Balík: python-django-polymorphic (2.0.2-1)

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.

Ostatné balíky súvisiace s balíkom python-django-polymorphic

  • závisí
  • odporúča
  • navrhuje
  • dep: python
    interactive high-level object-oriented language (default version)
  • dep: python-django
    High-level Python web development framework (Python 2 version)

Stiahnuť python-django-polymorphic

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 44.5 kB277 kB [zoznam súborov]