dynamic creation of models

2009-04-21 Thread David De Sousa
Hi! in a new project, I have the necessity of creating new models on the fly, and then interact with them (including writing to a new table in the database), is there any way of doing this? I'm guessing that with a little introspection it can be made possible, is this true? Greets. --~--~--

Dynamic creation of models

2018-02-06 Thread Marc
Hello Currently working on a project to allow researchers to upload data files into a repository. The system will only handle the import, validation and transformation of the data, so that it meets the required standards. When a file is upload the for the first time the user has to be abl

Re: dynamic creation of models

2009-04-25 Thread Malcolm Tredinnick
On Tue, 2009-04-21 at 09:52 -0700, David De Sousa wrote: > Hi! in a new project, I have the necessity of creating new models on > the fly, and then interact with them (including writing to a new table > in the database), is there any way of doing this? Yes. > I'm guessing that with a little intr

Re: Dynamic creation of models

2018-02-06 Thread Jani Tiainen
Hi, Since you're uploading more like documents than similary structured data, why not to use more proper tool, like document database (ArangoDB would get my vote) instead of trying to do what Django is not designed for and doesn't support well with concepts like "dynamic models". We do simil

Re: Dynamic creation of models

2018-02-06 Thread Marc
Thank you Jani, for taking the time to respond. We are currently at the design stage so are considering all options. We have used document databases (MongoDB) for other projects and in those cases it turned out to not be good fit. I agree that at first glance a document database does feels like

Re: Dynamic creation of models

2018-02-06 Thread Marc
This is an interesting article against document databases, I am sure though that there are equally valid arguments for http://www.sarahmei.com/blog/2013/11/11/why-you-should-never-use-mongodb/ On Tuesday, February 6, 2018 at 1:14:41 PM UTC, Marc wrote: > > Thank you Jani, for taking the time to r

Re: Dynamic creation of models

2018-02-06 Thread Jani Tiainen
Hi, That's why I suggested ArangoDB since it's really transactional like normal relational databases. It's harder to get it out of sync than for example MongoDB. Also surprisingly ArangoDB query language is really close to SQL. You should give it a spin. That was the reason we picked ArangoD

Re: Dynamic creation of models

2018-02-06 Thread Matemática A3K
On Tue, Feb 6, 2018 at 8:35 AM, Marc wrote: > Hello > > > > Currently working on a project to allow researchers to upload data files > into a repository. The system will only handle the import, validation and > transformation of the data, so that it meets the required standards. When a > file is