NullBooleanField save error in Admin

2010-03-09 Thread Ed Hagen
Hi, I have a model field defined thus: benefit = models.NullBooleanField() In django 1.1 and 1.2 pre-alpha, nulls were displayed with a "?" icon in list view. In the Admin change form, a pop-up menu appeared with 3 options (Unknown, Yes, No). Setting to "Unknown" and saving did not generate any

Re: Newbie: How to create different person models that share a profile model?

2007-08-25 Thread Ed Hagen
That will work -- assigning roles to Users makes sense. But, using your setup, is there any way to enforce a single role per User? As it is now, a single User could be assigned both a student and teacher role. Many thanks for your help. Ed. --~--~-~--~~~---~--~

Newbie: How to create different person models that share a profile model?

2007-08-24 Thread Ed Hagen
After finally realizing that in django one cannot subclass models, and then reading as much as I could find on alternative approaches, I think I am close to a solution to the following problem, but I can't quite seem to get all the way there on my own: In simplified terms, I want multiple types