Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/suutari/django-polyfield
- Owner: suutari
- License: mit
- Created: 2017-05-21T15:15:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-22T11:33:10.000Z (over 7 years ago)
- Last Synced: 2024-10-05T14:17:25.298Z (about 1 month ago)
- Topics: django, field, model-field, polymorphic, polymorphism, python, python3
- Language: Python
- Homepage: https://pypi.python.org/pypi/django-polyfield
- Size: 15.6 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
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.