Re: Model to create forms

2015-01-09 Thread Lorenzo Bernardi
On 01/09/2015 10:39 AM, Timothy W. Cook wrote: I think you are looking for a way to provide an abstraction like this http://django-forms-builder.readthedocs.org/en/latest/ yes it looks like I'll have to do something like that. Or see if the data collected from the form can be put in a model. Th

Re: Model to create forms

2015-01-09 Thread Timothy W. Cook
I think you are looking for a way to provide an abstraction like this http://django-forms-builder.readthedocs.org/en/latest/ On Thu, Jan 8, 2015 at 6:52 PM, Lorenzo Bernardi < lorenzo.berna...@lpn.cnrs.fr> wrote: > > Hello, > >> this is what _relational_ databases are built for. if you have two

Re: Model to create forms

2015-01-08 Thread Lorenzo Bernardi
Hello, this is what _relational_ databases are built for. if you have two tables, one for the description of the experiment (one record per experiment), and another for the statistics (one record per data sample, with a foreign key to the experiment record); then fetching the description of the

Re: Model to create forms

2015-01-08 Thread Lorenzo Bernardi
Hello, 1) there is no other approach (like creating a model on the fly, that is not writing in models.py. But it looks against the way django works) and any idea is welcomed. Generally I've found that creating a real model to store the data is easiest in the long run and usually involves les

Re: Model to create forms

2015-01-08 Thread Javier Guerra Giraldez
On Thu, Jan 8, 2015 at 1:03 PM, Collin Anderson wrote: > 2) Also keeping all the experiments data in only one table and getting all > the information for one experiment by finding all the row with the same uid > looks a little bit a time consuming process but for now we used the > bureaucracy plug

Re: Model to create forms

2015-01-08 Thread Collin Anderson
Hi, 1) there is no other approach (like creating a model on the fly, that is not writing in models.py. But it looks against the way django works) and any idea is welcomed. Generally I've found that creating a real model to store the data is easiest in the long run and usually involves less pro

Model to create forms

2015-01-05 Thread Lorenzo Bernardi
Hello All, I'm rather new to django and also web and database stuff and so I might not use the correct term. i need to write an application which is a log book for experiments. The purpose is to store information about various experiments on different experiment to keep a trace and compu