> It does work.  However the "email" field of User should be set to
> "blank=False" and "unique=True" if we really want to use email as the
> unique userid.  How can we override the default field definition of
> User.email?

You can add unique constraint on email column on database level,
Django will be unaware of it, but at least database will guarantee
that emails will be unique.

-- 
Vasily Sulatskov

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to