willhardy / dynamic-models

Example project demonstrating dynamic models in Django

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Runtime dynamic models with Django

This is an example project to demonstrate a number of techniques that allow dynamic models to work. This was written to accompany a talk at 2011 Djangocon.eu, the text of the talk is provided in this project's documentation and a video of the presentation can be found here.

The project is a simple survey maker, where admin users can define surveys. The responses can then be stored in a customised table for that survey, made possible with a dynamic model for each survey. Tables are migrated when relevant changes are made, using a shared cache to keep multiple processes in sync.

This was written reasonably quickly, but effort has been made to keep it simple. There will no doubt be typos and bugs, maybe even some conceptual problems. Please provide any feedback you might have and I will be happy to improve this implementation. The aim of this project is to demonstrate that dynamic models are possible and can be made to work reliably.

About

Example project demonstrating dynamic models in Django

License:Other


Languages

Language:Python 88.6%Language:Shell 11.4%