Re: Creating Dybamic "models"

2008-07-20 Thread code-zoop
On Jul 20, 6:36 pm, Bradley Wright <[EMAIL PROTECTED]> wrote: > On Jul 20, 8:45 am, festersen <[EMAIL PROTECTED]> wrote: > > > > In a more upscaled version I > > > could have 10 different article types, where all of them are slightly > > > different. > > > maybe you want to read some notes about

Re: Creating Dybamic "models"

2008-07-20 Thread Bradley Wright
On Jul 20, 8:45 am, festersen <[EMAIL PROTECTED]> wrote: > > In a more upscaled version I > > could have 10 different article types, where all of them are slightly > > different. > > maybe you want to read some notes about "inheritance" The "inheritance" being referring to: http://www.djangoproj

Re: Creating Dybamic "models"

2008-07-20 Thread scooper
> I am trying to find a more flexible way, where I can add > custom fields (for example add a new text field or a check box). How > ca I do this without modifyig the model? If you want something that allows for unknown future additions of new fields, I personally would consider using adding "prop

Re: Creating Dybamic "models"

2008-07-20 Thread festersen
> I am trying to find a more flexible way, where I can add > custom fields (for example add a new text field or a check box). How > ca I do this without modifyig the model? > I think, there's no more flexible way as modifying the model (and, clearly, alter the database...) > In a more upscaled v

Creating Dybamic "models"

2008-07-19 Thread code-zoop
Hello All. I am on my first prject with Django, and I really love it. I have never been so productive with so few lines of code (coming from php). I am writing a simple cms system, and have the core up and running. I have a general article model that contains all fields for the articles. I am tr