Re: model subclassing

2008-04-09 Thread Chris
Thanks looks very helpful. I will look over that when I get a free moment. On Apr 9, 10:39 am, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > Hi, > > On Apr 9, 12:30 am, Chris <[EMAIL PROTECTED]> wrote: > > > I am trying create a custom model field that will create 2 field > > instances, a CharField

Re: model subclassing

2008-04-09 Thread Rajesh Dhawan
Hi, On Apr 9, 12:30 am, Chris <[EMAIL PROTECTED]> wrote: > I am trying create a custom model field that will create 2 field > instances, a CharField and a booleanField. I am using this with > signals and dispatchers to insert data entered from this custom field > into another model/table that con

Re: model subclassing

2007-07-14 Thread Carl Karsten
Malcolm Tredinnick wrote: > On Fri, 2007-07-13 at 21:31 -0500, Carl Karsten wrote: >> I am experimenting with subclassing a model. The parent class will be an >> abstract class that does not get 'managed' by django. Only the subclass >> will, >> and the table the subclass works with will have

Re: model subclassing

2007-07-13 Thread Malcolm Tredinnick
On Fri, 2007-07-13 at 21:31 -0500, Carl Karsten wrote: > I am experimenting with subclassing a model. The parent class will be an > abstract class that does not get 'managed' by django. Only the subclass > will, > and the table the subclass works with will have all the fields. > > syncdb was

Re: model subclassing

2007-07-13 Thread Lars Stavholm
Carl Karsten wrote: > I am experimenting with subclassing a model. The parent class will be an > abstract class that does not get 'managed' by django. Only the subclass > will, > and the table the subclass works with will have all the fields. > > syncdb was able to create the table I expecte

Re: Model subclassing

2007-05-15 Thread anders conbere
On 5/15/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Mon, 2007-05-14 at 16:13 -0700, Joe wrote: > > I was wondering what the status of this is? I know that it broke a > > while back with the introduction of magic object removal, and has been > > in the pipeline since. I just tested it

Re: Model subclassing

2007-05-15 Thread Malcolm Tredinnick
On Mon, 2007-05-14 at 16:13 -0700, Joe wrote: > I was wondering what the status of this is? I know that it broke a > while back with the introduction of magic object removal, and has been > in the pipeline since. I just tested it out on my recent SVN checkout, > and it seemed to create the tables