Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/suutari/django-polyfield

Polymorphic fields for Django
https://github.com/suutari/django-polyfield

django field model-field polymorphic polymorphism python python3

Last synced: 6 days ago
JSON representation

Polymorphic fields for Django

Awesome Lists containing this project

README

        

Django Polyfield
================

Django Polyfield makes it possible to have a field in a Django model
with polymorphic class. The field could have a single instance or a
list of instances which could have different classes. Only requirement
is that all of the classes are derived from PolyObject and implement
JSON serialization.