Allow dynamic creation and updates to database schema at runtime.
Project description
django-dynamic-models
Overview
Dynamic Django models allow users to define, edit, and populate their own database tables and apply runtime schema changes to the database. django-dynamic-models
is loosely based on the runtime dynamic models talk from DjangoCon 2011. The basic concept involves around dynamic class declaration using the built-in type
function. We use type
to dynamically declare new Django models at runtime, and it is the goal of this project to provide a simple API to allow developers to get started with runtime dynamic models quickly.
This package provides abstract models to help Django developers quickly implement dynamic runtime models for their specific use case while the runtime schema changes and Django's model registry are handled automatically. The schema changes are applied in pure Django, without the migrations framework, so none of your dynamic models will affect your migrations files at all.
Documentation
See the wiki for documentation.
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
Hashes for django-dynamic-model-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7bae6b3c64a6743368545886e569303cb02e7fc9bc5324d1b933c95218b06c7 |
|
MD5 | 99093b578b5b3bf5c2e6d43dc3067ef1 |
|
BLAKE2b-256 | cce5a416371dfc2fc79318b0c75f46e7f9e519b7dec9ea55ead33464cb14aead |