Skip to main content

An app to give any Django database model the ability to dynamically add fields.

Project description

PyPI Version PY Versions Build Status Test Coverage PyPI Downloads

The MIT License (MIT)

Overview

At the time of this writing DColumn supports Django 1.9.10 and probably back to 1.8.0. The biggest issue with supporting older versions of Django is with the new way urlpatterns is used. Python 2.7, 3.4, 3.5 and 3.5-dev are supported.

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.

Provides

  1. Functionality to permit the addition of fields to a model through the admin.

  2. Add quasi models for static data objects.

  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-dcolumns-1.0.5.tar.gz (36.6 kB view details)

Uploaded Source

File details

Details for the file django-dcolumns-1.0.5.tar.gz.

File metadata

File hashes

Hashes for django-dcolumns-1.0.5.tar.gz
Algorithm Hash digest
SHA256 b1b7d949871c2602f381394154814449d95a4ca61c4de146609f1f3cd759ac70
MD5 f0c32215664d7ca7f4c6fc61728c7cc0
BLAKE2b-256 7a0c6998bff75b341ea5a5b481b3120aedcf0b33aaa8afccbdf2616675d16919

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page