Re: Inherited models in new forms admin

2008-08-26 Thread David Zhou
On Aug 26, 2008, at 2:13 PM, Malcolm Tredinnick wrote: > On Tue, 2008-08-26 at 10:57 -0700, diggs wrote: >> I'm just starting to port my app over to use nfa and the first thing >> that I'm seeing is that derived models are showing up twice in the >> admin. In my case I have a base VideoStory clas

Re: Inherited models in new forms admin

2008-08-26 Thread Malcolm Tredinnick
On Tue, 2008-08-26 at 10:57 -0700, diggs wrote: > I'm just starting to port my app over to use nfa and the first thing > that I'm seeing is that derived models are showing up twice in the > admin. In my case I have a base VideoStory class and > TwoPersonVideoStory class that derives from VideoSto

Re: Inherited models...

2008-04-15 Thread Jon
Thank you! I read the doc and it looks like this is precisely what I want. I will look into updating to this latest release. Jon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: Inherited models...

2008-04-15 Thread Malcolm Tredinnick
On Tue, 2008-04-15 at 18:33 -0700, Jon wrote: > I wanted to share some fields and functionality in several tables > without having to recode all of the field definitions in each table. > Obviously, this is an inheritance problem. So I did what I figured > was the logical thing: > > class MyMode

Re: Inherited models...

2008-04-15 Thread Michael
I assume you are using the queryset-refactoring branch, otherwise if you are able to do this it is just a fluke. However QS-RF does provide a great way to create abstract classes and multiple inheritance and in the brief time (4 days) since I have been messing around with it, it has been an out of