Re: Hard coded instances of model classes

2006-11-29 Thread kosmik
Derek Hoy wrote: > For your application, you could have a simple Scale model, with a > field for the xml definition, to give you complete flexibility, then > build the forms using the scales, and just save a generic data-point > with the scale id and a value. Well, to tell you the truth, I did no

Re: Hard coded instances of model classes

2006-11-27 Thread Derek Hoy
I am doing something a little similar, although actually the site is about what you would call 'scale development', so the resulting forms aren't used for data collection. But maybe it's of interest? I use xml to define a template, composed of elements and groups. The xml is just stored in a text