{"library":"django-polymorphic","type":"library","category":null,"description":"Django Polymorphic simplifies the use of inherited models in Django projects by automatically returning subclass instances when querying a base model. It enhances Django's multi-table inheritance to provide a seamless polymorphic experience in the ORM and admin interface. The library is actively maintained by the Jazzband community and is currently at version 4.11.2, with regular updates addressing bugs and adding features like comprehensive type annotations.","language":"python","status":"active","version":"4.11.2","tags":["django","orm","polymorphism","models","inheritance","admin"],"last_verified":"Thu May 21","install":[{"cmd":"pip install django-polymorphic","imports":["from polymorphic.models import PolymorphicModel","from polymorphic.admin import PolymorphicParentModelAdmin","from polymorphic.admin import PolymorphicChildModelAdmin","from polymorphic.managers import PolymorphicManager","from polymorphic.contrib.rest_framework.serializers import PolymorphicSerializer"]}],"homepage":null,"github":"https://github.com/django-commons/membership","docs":"https://django-polymorphic.readthedocs.io","changelog":"https://django-polymorphic.readthedocs.io/en/stable/changelog/index.html","pypi":"https://pypi.org/project/django-polymorphic/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":3.5,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/django-polymorphic/compatibility"}}