The MIT License (MIT)
DColumn is a Django plugin that lets the developer add columns to a model dynamically. It does this in the same way that the admin uses an inline model. Matter-of-fact that is exactly how the additional columns are displayed in the admin. The only addition is that there is special JavaScript that converts the column type to the type you have previously set it to.
This can be done, because any type of field can be represented as a string. There are two methods on any model you define as a Dcolumn model that does conversion in and out of the type you have set.
The highest version of Django that DColumn will work with Django 3.2.25 and Python 3.9 and above. The current code was tested with Django 3.2.25 and Python 3.11.
Warning
Version 2.0 is a partial rewrite of Django DColumns and is NOT backwards compatible with previous versions. It now needs to use fields defined in user forms. The latest releases of Django would not work with the old way Dcolumns had previously handled fields. This is actually better as it is now more consistent with how Django does things.
- Functionality to permit the addition of fields to a model through the admin.
- Add pseudo models for static data objects.
- The admin reflects all newly added fields in the correct type.
Feel free to contact me at: carl dot nobile at gmail.com
Complete Documentation can be found on Read the Docs at: Django DColumns