I can't think of any "clean solutions" right now. Dirty one's include adding a Role class, or applying the constraints on the database.
If you come up with something, please let me know. Ariel. On 8/25/07, Ed Hagen <[EMAIL PROTECTED]> wrote: > > > > 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. > > > > > -- Ariel Mauricio Núñez Gómez --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

