Re: Dynamic class definitions

2007-12-05 Thread Marty Alchin
On Dec 5, 2007 12:25 PM, DeliciousPy <[EMAIL PROTECTED]> wrote: > As for Marty's response... > >However, I haven't looked at what it > > would take to actually commit changes to the already-synced tables. I > > have a feeling Django Evolution[2] will help with this, but I haven't > > done any

Re: Dynamic class definitions

2007-12-05 Thread DeliciousPy
> From your description, I don't understand why your models need to be > dynamic. If each Item is defined in terms of it's Type and Fields, > then can you not change the definition on an Item by simply adding new > ItemTypes and ItemFields? If you're talking about using ItemField Classes, I

Re: Dynamic class definitions

2007-12-05 Thread Matt
> I want to be able to change the definition of an existing class (and > the associated parts of the DB) during runtime, from a web interface. > I'll describe the model I want to implement... > Say I have three classes: Item, Item Type, (and possibly) Item Field >From your description, I don't

Re: Dynamic class definitions

2007-12-05 Thread Marty Alchin
You might take a look at my writeup on dynamic models,[1] which specifically covers a way to specify Django models in a database, which can be changed at run-time. However, I haven't looked at what it would take to actually commit changes to the already-synced tables. I have a feeling Django

Dynamic class definitions

2007-12-04 Thread DeliciousPy
I'm thinking of trying to start making a CRM/ERP system, I had just started working on an inventory app, when I ran into a problem. I want to be able to change the definition of an existing class (and the associated parts of the DB) during runtime, from a web interface. I'll describe the