Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Example project demonstrating dynamic models in Django

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 doc
Octocat-spinner-32 responses
Octocat-spinner-32 settings
Octocat-spinner-32 surveymaker
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENCE
Octocat-spinner-32 README.rst
Octocat-spinner-32 __init__.py
Octocat-spinner-32 epio.ini
Octocat-spinner-32 manage.py
Octocat-spinner-32 requirements.txt
Octocat-spinner-32 urls.py
README.rst

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.

Something went wrong with that request. Please try again.