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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|django_polyfield-0.1.0-py2.py3-none-any.whl (12.6 kB) Copy SHA256 hash SHA256||Wheel||py2.py3|
|django-polyfield-0.1.0.tar.gz (6.2 kB) Copy SHA256 hash SHA256||Source||None|