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
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.
--~--~-~--~~~---~--~
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
3 matches
Mail list logo