An app to give any Django database model the ability to dynamically add fields.
Project description
The MIT License (MIT)
Overview
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.
DColumn now will only work with Django 3.2 and above and therefore only Python 3.6 and above.
Provides
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-dcolumns-3.1.0.tar.gz
.
File metadata
- Download URL: django-dcolumns-3.1.0.tar.gz
- Upload date:
- Size: 38.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94e936ce481454e58f4133b23004b777fb99dd262e8980b82ca5214ef5cd9437 |
|
MD5 | 991804915d7ae8c536fe793d3f8037e2 |
|
BLAKE2b-256 | e91affed0c73ddd259ed3335722cecd4f8619581d4dc6bb92028c9b6c20767c8 |
File details
Details for the file django_dcolumns-3.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: django_dcolumns-3.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 47.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0aeafa4a57550d0fb40605233b81668c3c9ec43d4d87fea8edf3b45623ee5563 |
|
MD5 | 39bae30496d98a8db70ec169adb858ef |
|
BLAKE2b-256 | afa592be817f7beaf5afe2805a5df34eba9f826e12836e81fb419d55e4998a87 |