Inheritance question: Multiple roles for users

2013-04-18 Thread M Hill
I've searched this group for threads related to multitable inheritance. The one most similar to my query so far was titled "multiple children in multitable inheritance", from Apr. 2008. Like the original poster, I'd thought of Bar as a possible subclass of Place, which might share the same Pl

Re: Inheritance question: Multiple roles for users

2013-04-18 Thread M Hill
> > Model inheritance is not the same as object inheritance. > > If you are doing non abstract inheritance, then there is no difference > between a derived model, and a model that has a foreign key to the > parent class. In a derived model, the foreign key is a OneToOneField, > with null=False

How to require selection of a M2M with intermediate table/model during admin record creation?

2013-08-28 Thread M Hill
I have been beating my head against the wall trying to figure this out. I came up with a simplified example to illustrate what I'm trying to do. Posit a hypothetical university application; say, a system where students, faculty and administration can all participate. There are different pri

Re: How to require selection of a M2M with intermediate table/model during admin record creation?

2013-08-31 Thread M Hill
Another application of the validation occurred to me: Since multiple rows can be added to the form, I would want to check for and reject multiple selections of the same Position title. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubs